1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Widget that displays a <link linkend="GtkTextBuffer">GtkTextBuffer</link>
7 <!-- ##### SECTION Long_Description ##### -->
9 You may wish to begin by reading the <link linkend="TextWidget">text widget
10 conceptual overview</link> which gives an overview of all the objects and data
11 types related to the text widget and how they work together.
18 <!-- ##### SECTION See_Also ##### -->
20 #GtkTextBuffer, #GtkTextIter
23 <!-- ##### SECTION Stability_Level ##### -->
26 <!-- ##### STRUCT GtkTextView ##### -->
32 <!-- ##### SIGNAL GtkTextView::backspace ##### -->
37 @textview: the object which received the signal.
39 <!-- ##### SIGNAL GtkTextView::copy-clipboard ##### -->
44 @textview: the object which received the signal.
46 <!-- ##### SIGNAL GtkTextView::cut-clipboard ##### -->
51 @textview: the object which received the signal.
53 <!-- ##### SIGNAL GtkTextView::delete-from-cursor ##### -->
58 @textview: the object which received the signal.
62 <!-- ##### SIGNAL GtkTextView::insert-at-cursor ##### -->
67 @textview: the object which received the signal.
70 <!-- ##### SIGNAL GtkTextView::move-cursor ##### -->
75 @textview: the object which received the signal.
80 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
85 @textview: the object which received the signal.
88 <!-- ##### SIGNAL GtkTextView::move-viewport ##### -->
93 @textview: the object which received the signal.
97 <!-- ##### SIGNAL GtkTextView::page-horizontally ##### -->
102 @textview: the object which received the signal.
106 <!-- ##### SIGNAL GtkTextView::paste-clipboard ##### -->
111 @textview: the object which received the signal.
113 <!-- ##### SIGNAL GtkTextView::populate-popup ##### -->
118 @textview: the object which received the signal.
121 <!-- ##### SIGNAL GtkTextView::select-all ##### -->
126 @textview: the object which received the signal.
129 <!-- ##### SIGNAL GtkTextView::set-anchor ##### -->
134 @textview: the object which received the signal.
136 <!-- ##### SIGNAL GtkTextView::set-scroll-adjustments ##### -->
141 @textview: the object which received the signal.
145 <!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### -->
150 @textview: the object which received the signal.
152 <!-- ##### ARG GtkTextView:accepts-tab ##### -->
157 <!-- ##### ARG GtkTextView:buffer ##### -->
162 <!-- ##### ARG GtkTextView:cursor-visible ##### -->
167 <!-- ##### ARG GtkTextView:editable ##### -->
172 <!-- ##### ARG GtkTextView:indent ##### -->
177 <!-- ##### ARG GtkTextView:justification ##### -->
182 <!-- ##### ARG GtkTextView:left-margin ##### -->
187 <!-- ##### ARG GtkTextView:overwrite ##### -->
192 <!-- ##### ARG GtkTextView:pixels-above-lines ##### -->
197 <!-- ##### ARG GtkTextView:pixels-below-lines ##### -->
202 <!-- ##### ARG GtkTextView:pixels-inside-wrap ##### -->
207 <!-- ##### ARG GtkTextView:right-margin ##### -->
212 <!-- ##### ARG GtkTextView:tabs ##### -->
217 <!-- ##### ARG GtkTextView:wrap-mode ##### -->
222 <!-- ##### ARG GtkTextView:error-underline-color ##### -->
227 <!-- ##### ENUM GtkTextWindowType ##### -->
232 @GTK_TEXT_WINDOW_PRIVATE:
233 @GTK_TEXT_WINDOW_WIDGET:
234 @GTK_TEXT_WINDOW_TEXT:
235 @GTK_TEXT_WINDOW_LEFT:
236 @GTK_TEXT_WINDOW_RIGHT:
237 @GTK_TEXT_WINDOW_TOP:
238 @GTK_TEXT_WINDOW_BOTTOM:
240 <!-- ##### FUNCTION gtk_text_view_new ##### -->
248 <!-- ##### FUNCTION gtk_text_view_new_with_buffer ##### -->
257 <!-- ##### FUNCTION gtk_text_view_set_buffer ##### -->
266 <!-- ##### FUNCTION gtk_text_view_get_buffer ##### -->
275 <!-- ##### FUNCTION gtk_text_view_scroll_to_mark ##### -->
286 <!-- # Unused Parameters # -->
291 <!-- ##### FUNCTION gtk_text_view_scroll_to_iter ##### -->
305 <!-- ##### FUNCTION gtk_text_view_scroll_mark_onscreen ##### -->
312 <!-- # Unused Parameters # -->
316 <!-- ##### FUNCTION gtk_text_view_move_mark_onscreen ##### -->
326 <!-- ##### FUNCTION gtk_text_view_place_cursor_onscreen ##### -->
335 <!-- ##### FUNCTION gtk_text_view_get_visible_rect ##### -->
344 <!-- ##### FUNCTION gtk_text_view_get_iter_location ##### -->
354 <!-- ##### FUNCTION gtk_text_view_get_line_at_y ##### -->
365 <!-- ##### FUNCTION gtk_text_view_get_line_yrange ##### -->
376 <!-- ##### FUNCTION gtk_text_view_get_iter_at_location ##### -->
387 <!-- ##### FUNCTION gtk_text_view_get_iter_at_position ##### -->
399 <!-- ##### FUNCTION gtk_text_view_buffer_to_window_coords ##### -->
412 <!-- ##### FUNCTION gtk_text_view_window_to_buffer_coords ##### -->
425 <!-- ##### FUNCTION gtk_text_view_get_window ##### -->
435 <!-- ##### FUNCTION gtk_text_view_get_window_type ##### -->
445 <!-- ##### FUNCTION gtk_text_view_set_border_window_size ##### -->
455 <!-- ##### FUNCTION gtk_text_view_get_border_window_size ##### -->
465 <!-- ##### FUNCTION gtk_text_view_forward_display_line ##### -->
475 <!-- ##### FUNCTION gtk_text_view_backward_display_line ##### -->
485 <!-- ##### FUNCTION gtk_text_view_forward_display_line_end ##### -->
495 <!-- ##### FUNCTION gtk_text_view_backward_display_line_start ##### -->
505 <!-- ##### FUNCTION gtk_text_view_starts_display_line ##### -->
515 <!-- ##### FUNCTION gtk_text_view_move_visually ##### -->
526 <!-- ##### FUNCTION gtk_text_view_add_child_at_anchor ##### -->
536 <!-- ##### STRUCT GtkTextChildAnchor ##### -->
538 A <structname>GtkTextChildAnchor</structname> is a spot in the buffer
539 where child widgets can be "anchored" (inserted inline, as if they were
540 characters). The anchor can have multiple widgets anchored, to allow for
545 <!-- ##### FUNCTION gtk_text_child_anchor_new ##### -->
553 <!-- ##### FUNCTION gtk_text_child_anchor_get_widgets ##### -->
562 <!-- ##### FUNCTION gtk_text_child_anchor_get_deleted ##### -->
571 <!-- ##### FUNCTION gtk_text_view_add_child_in_window ##### -->
583 <!-- ##### FUNCTION gtk_text_view_move_child ##### -->
594 <!-- ##### FUNCTION gtk_text_view_set_wrap_mode ##### -->
603 <!-- ##### FUNCTION gtk_text_view_get_wrap_mode ##### -->
612 <!-- ##### FUNCTION gtk_text_view_set_editable ##### -->
621 <!-- ##### FUNCTION gtk_text_view_get_editable ##### -->
630 <!-- ##### FUNCTION gtk_text_view_set_cursor_visible ##### -->
639 <!-- ##### FUNCTION gtk_text_view_get_cursor_visible ##### -->
648 <!-- ##### FUNCTION gtk_text_view_set_overwrite ##### -->
657 <!-- ##### FUNCTION gtk_text_view_get_overwrite ##### -->
666 <!-- ##### FUNCTION gtk_text_view_set_pixels_above_lines ##### -->
675 <!-- ##### FUNCTION gtk_text_view_get_pixels_above_lines ##### -->
684 <!-- ##### FUNCTION gtk_text_view_set_pixels_below_lines ##### -->
693 <!-- ##### FUNCTION gtk_text_view_get_pixels_below_lines ##### -->
702 <!-- ##### FUNCTION gtk_text_view_set_pixels_inside_wrap ##### -->
711 <!-- ##### FUNCTION gtk_text_view_get_pixels_inside_wrap ##### -->
720 <!-- ##### FUNCTION gtk_text_view_set_justification ##### -->
729 <!-- ##### FUNCTION gtk_text_view_get_justification ##### -->
738 <!-- ##### FUNCTION gtk_text_view_set_left_margin ##### -->
747 <!-- ##### FUNCTION gtk_text_view_get_left_margin ##### -->
756 <!-- ##### FUNCTION gtk_text_view_set_right_margin ##### -->
765 <!-- ##### FUNCTION gtk_text_view_get_right_margin ##### -->
774 <!-- ##### FUNCTION gtk_text_view_set_indent ##### -->
783 <!-- ##### FUNCTION gtk_text_view_get_indent ##### -->
792 <!-- ##### FUNCTION gtk_text_view_set_tabs ##### -->
801 <!-- ##### FUNCTION gtk_text_view_get_tabs ##### -->
810 <!-- ##### FUNCTION gtk_text_view_set_accepts_tab ##### -->
819 <!-- ##### FUNCTION gtk_text_view_get_accepts_tab ##### -->
828 <!-- ##### FUNCTION gtk_text_view_get_default_attributes ##### -->
837 <!-- ##### MACRO GTK_TEXT_VIEW_PRIORITY_VALIDATE ##### -->
839 The priority at which the text view validates onscreen lines
840 in an idle job in the background.