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 <!-- ##### FUNCTION gtk_text_buffer_new ##### -->
35 <!-- ##### FUNCTION gtk_text_buffer_get_line_count ##### -->
44 <!-- ##### FUNCTION gtk_text_buffer_get_char_count ##### -->
53 <!-- ##### FUNCTION gtk_text_buffer_get_tag_table ##### -->
62 <!-- ##### FUNCTION gtk_text_buffer_insert ##### -->
73 <!-- ##### FUNCTION gtk_text_buffer_insert_at_cursor ##### -->
83 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive ##### -->
96 <!-- ##### FUNCTION gtk_text_buffer_insert_interactive_at_cursor ##### -->
108 <!-- ##### FUNCTION gtk_text_buffer_insert_range ##### -->
119 <!-- ##### FUNCTION gtk_text_buffer_insert_range_interactive ##### -->
132 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags ##### -->
145 <!-- ##### FUNCTION gtk_text_buffer_insert_with_tags_by_name ##### -->
158 <!-- ##### FUNCTION gtk_text_buffer_delete ##### -->
166 <!-- # Unused Parameters # -->
171 <!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
183 <!-- ##### FUNCTION gtk_text_buffer_set_text ##### -->
193 <!-- ##### FUNCTION gtk_text_buffer_get_text ##### -->
201 @include_hidden_chars:
203 <!-- # Unused Parameters # -->
208 <!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
216 @include_hidden_chars:
218 <!-- # Unused Parameters # -->
223 <!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
233 <!-- ##### FUNCTION gtk_text_buffer_insert_child_anchor ##### -->
243 <!-- ##### FUNCTION gtk_text_buffer_create_child_anchor ##### -->
253 <!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
265 <!-- ##### FUNCTION gtk_text_buffer_move_mark ##### -->
275 <!-- ##### FUNCTION gtk_text_buffer_move_mark_by_name ##### -->
285 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
294 <!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
303 <!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
313 <!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
322 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bound ##### -->
331 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
340 <!-- ##### FUNCTION gtk_text_buffer_apply_tag ##### -->
349 <!-- # Unused Parameters # -->
354 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
363 <!-- # Unused Parameters # -->
368 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
377 <!-- # Unused Parameters # -->
382 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
391 <!-- # Unused Parameters # -->
396 <!-- ##### FUNCTION gtk_text_buffer_create_tag ##### -->
403 @first_property_name:
408 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_offset ##### -->
419 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_offset ##### -->
429 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line ##### -->
439 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_index ##### -->
450 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_mark ##### -->
460 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_child_anchor ##### -->
470 <!-- ##### FUNCTION gtk_text_buffer_get_end_iter ##### -->
479 <!-- ##### FUNCTION gtk_text_buffer_get_bounds ##### -->
489 <!-- ##### FUNCTION gtk_text_buffer_get_modified ##### -->
498 <!-- ##### FUNCTION gtk_text_buffer_set_modified ##### -->
507 <!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
518 <!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
525 <!-- # Unused Parameters # -->
530 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
538 <!-- ##### FUNCTION gtk_text_buffer_cut_clipboard ##### -->
547 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
557 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
568 <!-- ##### FUNCTION gtk_text_buffer_begin_user_action ##### -->
576 <!-- ##### FUNCTION gtk_text_buffer_end_user_action ##### -->
584 <!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### -->
589 @textbuffer: the object which received the signal.
594 <!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### -->
599 @textbuffer: the object which received the signal.
601 <!-- ##### SIGNAL GtkTextBuffer::changed ##### -->
606 @textbuffer: the object which received the signal.
608 <!-- ##### SIGNAL GtkTextBuffer::delete-range ##### -->
613 @textbuffer: the object which received the signal.
617 <!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### -->
622 @textbuffer: the object which received the signal.
624 <!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### -->
629 @textbuffer: the object which received the signal.
633 <!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### -->
638 @textbuffer: the object which received the signal.
642 <!-- ##### SIGNAL GtkTextBuffer::insert-text ##### -->
647 @textbuffer: the object which received the signal.
651 <!-- # Unused Parameters # -->
654 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
659 @textbuffer: the object which received the signal.
662 <!-- ##### SIGNAL GtkTextBuffer::mark-set ##### -->
667 @textbuffer: the object which received the signal.
671 <!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### -->
676 @textbuffer: the object which received the signal.
678 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
683 @textbuffer: the object which received the signal.