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_create_child_anchor ##### -->
243 <!-- ##### FUNCTION gtk_text_buffer_create_mark ##### -->
255 <!-- ##### FUNCTION gtk_text_buffer_move_mark ##### -->
265 <!-- ##### FUNCTION gtk_text_buffer_move_mark_by_name ##### -->
275 <!-- ##### FUNCTION gtk_text_buffer_delete_mark ##### -->
284 <!-- ##### FUNCTION gtk_text_buffer_delete_mark_by_name ##### -->
293 <!-- ##### FUNCTION gtk_text_buffer_get_mark ##### -->
303 <!-- ##### FUNCTION gtk_text_buffer_get_insert ##### -->
312 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bound ##### -->
321 <!-- ##### FUNCTION gtk_text_buffer_place_cursor ##### -->
330 <!-- ##### FUNCTION gtk_text_buffer_apply_tag ##### -->
339 <!-- # Unused Parameters # -->
344 <!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
353 <!-- # Unused Parameters # -->
358 <!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
367 <!-- # Unused Parameters # -->
372 <!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
381 <!-- # Unused Parameters # -->
386 <!-- ##### FUNCTION gtk_text_buffer_create_tag ##### -->
393 @first_property_name:
398 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_offset ##### -->
409 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_offset ##### -->
419 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line ##### -->
429 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_line_index ##### -->
440 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_mark ##### -->
450 <!-- ##### FUNCTION gtk_text_buffer_get_iter_at_child_anchor ##### -->
460 <!-- ##### FUNCTION gtk_text_buffer_get_bounds ##### -->
470 <!-- ##### FUNCTION gtk_text_buffer_set_modified ##### -->
479 <!-- ##### FUNCTION gtk_text_buffer_delete_selection ##### -->
490 <!-- ##### FUNCTION gtk_text_buffer_paste_clipboard ##### -->
497 <!-- # Unused Parameters # -->
502 <!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->
510 <!-- ##### FUNCTION gtk_text_buffer_cut_clipboard ##### -->
519 <!-- ##### FUNCTION gtk_text_buffer_paste_primary ##### -->
529 <!-- ##### FUNCTION gtk_text_buffer_get_selection_bounds ##### -->
540 <!-- ##### FUNCTION gtk_text_buffer_begin_user_action ##### -->
548 <!-- ##### FUNCTION gtk_text_buffer_end_user_action ##### -->
556 <!-- ##### SIGNAL GtkTextBuffer::apply-tag ##### -->
561 @textbuffer: the object which received the signal.
566 <!-- ##### SIGNAL GtkTextBuffer::begin-user-action ##### -->
571 @textbuffer: the object which received the signal.
573 <!-- ##### SIGNAL GtkTextBuffer::changed ##### -->
578 @textbuffer: the object which received the signal.
580 <!-- ##### SIGNAL GtkTextBuffer::delete-range ##### -->
585 @textbuffer: the object which received the signal.
589 <!-- ##### SIGNAL GtkTextBuffer::end-user-action ##### -->
594 @textbuffer: the object which received the signal.
596 <!-- ##### SIGNAL GtkTextBuffer::insert-child-anchor ##### -->
601 @textbuffer: the object which received the signal.
605 <!-- ##### SIGNAL GtkTextBuffer::insert-pixbuf ##### -->
610 @textbuffer: the object which received the signal.
614 <!-- ##### SIGNAL GtkTextBuffer::insert-text ##### -->
619 @textbuffer: the object which received the signal.
623 <!-- # Unused Parameters # -->
626 <!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
631 @textbuffer: the object which received the signal.
634 <!-- ##### SIGNAL GtkTextBuffer::mark-set ##### -->
639 @textbuffer: the object which received the signal.
643 <!-- ##### SIGNAL GtkTextBuffer::modified-changed ##### -->
648 @textbuffer: the object which received the signal.
650 <!-- ##### SIGNAL GtkTextBuffer::remove-tag ##### -->
655 @textbuffer: the object which received the signal.