1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
6 Stores attributed text for display in a <link
7 linkend="GtkTextView">GtkTextView</link>
9 <!-- ##### SECTION Long_Description ##### -->
12 You may wish to begin by reading the <link linkend="TextWidget">text widget
13 conceptual overview</link> which gives an overview of all the objects and data
14 types related to the text widget and how they work together.
21 <!-- ##### SECTION See_Also ##### -->
23 #GtkTextView, #GtkTextIter, #GtkTextMark
26 <!-- ##### STRUCT GtkTextBuffer ##### -->
32 <!-- ##### FUNCTION gtk_text_buffer_new ##### -->
41 <!-- ##### FUNCTION gtk_text_buffer_get_line_count ##### -->
50 <!-- ##### FUNCTION gtk_text_buffer_get_char_count ##### -->
59 <!-- ##### FUNCTION gtk_text_buffer_get_tag_table ##### -->
68 <!-- ##### FUNCTION gtk_text_buffer_insert ##### -->
79 <!-- ##### FUNCTION gtk_text_buffer_insert_at_cursor ##### -->
89 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive ##### -->
102 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive_at_cursor ##### -->
114 <!-- ##### FUNCTION gtk_text_buffer_insert_range ##### -->
125 <!-- ##### FUNCTION gtk_text_buffer_insert_range_interactive ##### -->
138 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags ##### -->
151 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags_by_name ##### -->
164 <!-- ##### FUNCTION gtk_text_buffer_delete ##### -->
172 <!-- # Unused Parameters # -->
177 <!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
189 <!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
199 <!-- ##### FUNCTION gtk_text_buffer_get_text ##### -->
207 @include_hidden_chars:
209 <!-- # Unused Parameters # -->
214 <!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
222 @include_hidden_chars:
224 <!-- # Unused Parameters # -->
229 <!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
239 <!-- ##### FUNCTION gtk_text_buffer_insert_child_anchor ##### -->
249 <!-- ##### FUNCTION gtk_text_buffer_create_child_anchor ##### -->
259 <!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
271 <!-- ##### FUNCTION gtk_text_buffer_move_mark ##### -->
281 <!-- ##### FUNCTION gtk_text_buffer_move_mark_by_name ##### -->
291 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
300 <!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
309 <!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
319 <!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
328 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bound ##### -->
337 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
346 <!-- ##### FUNCTION gtk_text_buffer_select_range ##### -->
356 <!-- ##### FUNCTION gtk_text_buffer_apply_tag ##### -->
365 <!-- # Unused Parameters # -->
370 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
379 <!-- # Unused Parameters # -->
384 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
393 <!-- # Unused Parameters # -->
398 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
407 <!-- # Unused Parameters # -->
412 <!-- ##### FUNCTION gtk_text_buffer_remove_all_tags ##### -->
422 <!-- ##### FUNCTION gtk_text_buffer_create_tag ##### -->
429 @first_property_name:
434 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_offset ##### -->
445 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_offset ##### -->
455 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line ##### -->
465 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_index ##### -->
476 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_mark ##### -->
486 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_child_anchor ##### -->
496 <!-- ##### FUNCTION gtk_text_buffer_get_start_iter ##### -->
505 <!-- ##### FUNCTION gtk_text_buffer_get_end_iter ##### -->
514 <!-- ##### FUNCTION gtk_text_buffer_get_bounds ##### -->
524 <!-- ##### FUNCTION gtk_text_buffer_get_modified ##### -->
533 <!-- ##### FUNCTION gtk_text_buffer_set_modified ##### -->
542 <!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
553 <!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
562 <!-- # Unused Parameters # -->
567 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
576 <!-- ##### FUNCTION gtk_text_buffer_cut_clipboard ##### -->
586 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
597 <!-- ##### FUNCTION gtk_text_buffer_begin_user_action ##### -->
605 <!-- ##### FUNCTION gtk_text_buffer_end_user_action ##### -->
613 <!-- ##### FUNCTION gtk_text_buffer_add_selection_clipboard ##### -->
622 <!-- ##### FUNCTION gtk_text_buffer_remove_selection_clipboard ##### -->
631 <!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### -->
636 @textbuffer: the object which received the signal.
641 <!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### -->
646 @textbuffer: the object which received the signal.
648 <!-- ##### SIGNAL GtkTextBuffer::changed ##### -->
653 @textbuffer: the object which received the signal.
655 <!-- ##### SIGNAL GtkTextBuffer::delete-range ##### -->
660 @textbuffer: the object which received the signal.
664 <!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### -->
669 @textbuffer: the object which received the signal.
671 <!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### -->
676 @textbuffer: the object which received the signal.
680 <!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### -->
685 @textbuffer: the object which received the signal.
689 <!-- ##### SIGNAL GtkTextBuffer::insert-text ##### -->
694 @textbuffer: the object which received the signal.
698 <!-- # Unused Parameters # -->
701 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
706 @textbuffer: the object which received the signal.
709 <!-- ##### SIGNAL GtkTextBuffer::mark-set ##### -->
714 @textbuffer: the object which received the signal.
718 <!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### -->
723 @textbuffer: the object which received the signal.
725 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
730 @textbuffer: the object which received the signal.
735 <!-- ##### ARG GtkTextBuffer:tag-table ##### -->