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.
103 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
108 @textbuffer: the object which received the signal.
111 <!-- ##### SIGNAL GtkTextBuffer::mark-set ##### -->
116 @textbuffer: the object which received the signal.
120 <!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### -->
125 @textbuffer: the object which received the signal.
127 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
132 @textbuffer: the object which received the signal.
137 <!-- ##### ARG GtkTextBuffer:copy-target-list ##### -->
142 <!-- ##### ARG GtkTextBuffer:has-selection ##### -->
147 <!-- ##### ARG GtkTextBuffer:paste-target-list ##### -->
152 <!-- ##### ARG GtkTextBuffer:tag-table ##### -->
157 <!-- ##### ARG GtkTextBuffer:text ##### -->
162 <!-- ##### FUNCTION gtk_text_buffer_new ##### -->
171 <!-- ##### FUNCTION gtk_text_buffer_get_line_count ##### -->
180 <!-- ##### FUNCTION gtk_text_buffer_get_char_count ##### -->
189 <!-- ##### FUNCTION gtk_text_buffer_get_tag_table ##### -->
198 <!-- ##### FUNCTION gtk_text_buffer_insert ##### -->
209 <!-- ##### FUNCTION gtk_text_buffer_insert_at_cursor ##### -->
219 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive ##### -->
232 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive_at_cursor ##### -->
244 <!-- ##### FUNCTION gtk_text_buffer_insert_range ##### -->
255 <!-- ##### FUNCTION gtk_text_buffer_insert_range_interactive ##### -->
268 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags ##### -->
281 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags_by_name ##### -->
294 <!-- ##### FUNCTION gtk_text_buffer_delete ##### -->
304 <!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
316 <!-- ##### FUNCTION gtk_text_buffer_backspace ##### -->
328 <!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
338 <!-- ##### FUNCTION gtk_text_buffer_get_text ##### -->
346 @include_hidden_chars:
350 <!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
358 @include_hidden_chars:
362 <!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
372 <!-- ##### FUNCTION gtk_text_buffer_insert_child_anchor ##### -->
382 <!-- ##### FUNCTION gtk_text_buffer_create_child_anchor ##### -->
392 <!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
404 <!-- ##### FUNCTION gtk_text_buffer_move_mark ##### -->
414 <!-- ##### FUNCTION gtk_text_buffer_move_mark_by_name ##### -->
424 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
433 <!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
442 <!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
452 <!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
461 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bound ##### -->
470 <!-- ##### FUNCTION gtk_text_buffer_get_has_selection ##### -->
479 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
488 <!-- ##### FUNCTION gtk_text_buffer_select_range ##### -->
498 <!-- ##### FUNCTION gtk_text_buffer_apply_tag ##### -->
509 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
520 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
531 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
542 <!-- ##### FUNCTION gtk_text_buffer_remove_all_tags ##### -->
552 <!-- ##### FUNCTION gtk_text_buffer_create_tag ##### -->
559 @first_property_name:
564 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_offset ##### -->
575 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_offset ##### -->
585 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line ##### -->
595 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_index ##### -->
606 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_mark ##### -->
616 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_child_anchor ##### -->
626 <!-- ##### FUNCTION gtk_text_buffer_get_start_iter ##### -->
635 <!-- ##### FUNCTION gtk_text_buffer_get_end_iter ##### -->
644 <!-- ##### FUNCTION gtk_text_buffer_get_bounds ##### -->
654 <!-- ##### FUNCTION gtk_text_buffer_get_modified ##### -->
663 <!-- ##### FUNCTION gtk_text_buffer_set_modified ##### -->
672 <!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
683 <!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
694 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
703 <!-- ##### FUNCTION gtk_text_buffer_cut_clipboard ##### -->
713 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
724 <!-- ##### FUNCTION gtk_text_buffer_begin_user_action ##### -->
732 <!-- ##### FUNCTION gtk_text_buffer_end_user_action ##### -->
740 <!-- ##### FUNCTION gtk_text_buffer_add_selection_clipboard ##### -->
749 <!-- ##### FUNCTION gtk_text_buffer_remove_selection_clipboard ##### -->
758 <!-- ##### ENUM GtkTextBufferTargetInfo ##### -->
763 @GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS:
764 @GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT:
765 @GTK_TEXT_BUFFER_TARGET_INFO_TEXT:
767 <!-- ##### USER_FUNCTION GtkTextBufferDeserializeFunc ##### -->
783 <!-- ##### FUNCTION gtk_text_buffer_deserialize ##### -->
798 <!-- ##### FUNCTION gtk_text_buffer_deserialize_get_can_create_tags ##### -->
808 <!-- ##### FUNCTION gtk_text_buffer_deserialize_set_can_create_tags ##### -->
818 <!-- ##### FUNCTION gtk_text_buffer_get_copy_target_list ##### -->
827 <!-- ##### FUNCTION gtk_text_buffer_get_deserialize_formats ##### -->
837 <!-- ##### FUNCTION gtk_text_buffer_get_paste_target_list ##### -->
846 <!-- ##### FUNCTION gtk_text_buffer_get_serialize_formats ##### -->
856 <!-- ##### FUNCTION gtk_text_buffer_register_deserialize_format ##### -->
869 <!-- ##### FUNCTION gtk_text_buffer_register_deserialize_tagset ##### -->
879 <!-- ##### FUNCTION gtk_text_buffer_register_serialize_format ##### -->
892 <!-- ##### FUNCTION gtk_text_buffer_register_serialize_tagset ##### -->
902 <!-- ##### USER_FUNCTION GtkTextBufferSerializeFunc ##### -->
916 <!-- ##### FUNCTION gtk_text_buffer_serialize ##### -->
930 <!-- ##### FUNCTION gtk_text_buffer_unregister_deserialize_format ##### -->
939 <!-- ##### FUNCTION gtk_text_buffer_unregister_serialize_format ##### -->