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 <!-- ##### SECTION Stability_Level ##### -->
29 <!-- ##### STRUCT GtkTextBuffer ##### -->
35 <!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### -->
40 @textbuffer: the object which received the signal.
45 <!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### -->
50 @textbuffer: the object which received the signal.
52 <!-- ##### SIGNAL GtkTextBuffer::changed ##### -->
57 @textbuffer: the object which received the signal.
59 <!-- ##### SIGNAL GtkTextBuffer::delete-range ##### -->
64 @textbuffer: the object which received the signal.
68 <!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### -->
73 @textbuffer: the object which received the signal.
75 <!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### -->
80 @textbuffer: the object which received the signal.
84 <!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### -->
89 @textbuffer: the object which received the signal.
93 <!-- ##### SIGNAL GtkTextBuffer::insert-text ##### -->
98 @textbuffer: the object which received the signal.
102 <!-- # Unused Parameters # -->
105 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
110 @textbuffer: the object which received the signal.
113 <!-- ##### SIGNAL GtkTextBuffer::mark-set ##### -->
118 @textbuffer: the object which received the signal.
122 <!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### -->
127 @textbuffer: the object which received the signal.
129 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
134 @textbuffer: the object which received the signal.
139 <!-- ##### ARG GtkTextBuffer:tag-table ##### -->
144 <!-- ##### ARG GtkTextBuffer:text ##### -->
149 <!-- ##### FUNCTION gtk_text_buffer_new ##### -->
158 <!-- ##### FUNCTION gtk_text_buffer_get_line_count ##### -->
167 <!-- ##### FUNCTION gtk_text_buffer_get_char_count ##### -->
176 <!-- ##### FUNCTION gtk_text_buffer_get_tag_table ##### -->
185 <!-- ##### FUNCTION gtk_text_buffer_insert ##### -->
196 <!-- ##### FUNCTION gtk_text_buffer_insert_at_cursor ##### -->
206 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive ##### -->
219 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive_at_cursor ##### -->
231 <!-- ##### FUNCTION gtk_text_buffer_insert_range ##### -->
242 <!-- ##### FUNCTION gtk_text_buffer_insert_range_interactive ##### -->
255 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags ##### -->
268 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags_by_name ##### -->
281 <!-- ##### FUNCTION gtk_text_buffer_delete ##### -->
289 <!-- # Unused Parameters # -->
294 <!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
306 <!-- ##### FUNCTION gtk_text_buffer_backspace ##### -->
318 <!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
328 <!-- ##### FUNCTION gtk_text_buffer_get_text ##### -->
336 @include_hidden_chars:
338 <!-- # Unused Parameters # -->
343 <!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
351 @include_hidden_chars:
353 <!-- # Unused Parameters # -->
358 <!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
368 <!-- ##### FUNCTION gtk_text_buffer_insert_child_anchor ##### -->
378 <!-- ##### FUNCTION gtk_text_buffer_create_child_anchor ##### -->
388 <!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
400 <!-- ##### FUNCTION gtk_text_buffer_move_mark ##### -->
410 <!-- ##### FUNCTION gtk_text_buffer_move_mark_by_name ##### -->
420 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
429 <!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
438 <!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
448 <!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
457 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bound ##### -->
466 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
475 <!-- ##### FUNCTION gtk_text_buffer_select_range ##### -->
485 <!-- ##### FUNCTION gtk_text_buffer_apply_tag ##### -->
494 <!-- # Unused Parameters # -->
499 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
508 <!-- # Unused Parameters # -->
513 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
522 <!-- # Unused Parameters # -->
527 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
536 <!-- # Unused Parameters # -->
541 <!-- ##### FUNCTION gtk_text_buffer_remove_all_tags ##### -->
551 <!-- ##### FUNCTION gtk_text_buffer_create_tag ##### -->
558 @first_property_name:
563 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_offset ##### -->
574 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_offset ##### -->
584 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line ##### -->
594 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_index ##### -->
605 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_mark ##### -->
615 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_child_anchor ##### -->
625 <!-- ##### FUNCTION gtk_text_buffer_get_start_iter ##### -->
634 <!-- ##### FUNCTION gtk_text_buffer_get_end_iter ##### -->
643 <!-- ##### FUNCTION gtk_text_buffer_get_bounds ##### -->
653 <!-- ##### FUNCTION gtk_text_buffer_get_modified ##### -->
662 <!-- ##### FUNCTION gtk_text_buffer_set_modified ##### -->
671 <!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
682 <!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
691 <!-- # Unused Parameters # -->
696 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
705 <!-- ##### FUNCTION gtk_text_buffer_cut_clipboard ##### -->
715 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
726 <!-- ##### FUNCTION gtk_text_buffer_begin_user_action ##### -->
734 <!-- ##### FUNCTION gtk_text_buffer_end_user_action ##### -->
742 <!-- ##### FUNCTION gtk_text_buffer_add_selection_clipboard ##### -->
751 <!-- ##### FUNCTION gtk_text_buffer_remove_selection_clipboard ##### -->