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 <!-- ##### STRUCT GtkTextView ##### -->
29 <!-- ##### SIGNAL GtkTextView::copy-clipboard ##### -->
34 @textview: the object which received the signal.
36 <!-- ##### SIGNAL GtkTextView::cut-clipboard ##### -->
41 @textview: the object which received the signal.
43 <!-- ##### SIGNAL GtkTextView::delete-from-cursor ##### -->
48 @textview: the object which received the signal.
52 <!-- ##### SIGNAL GtkTextView::insert-at-cursor ##### -->
57 @textview: the object which received the signal.
60 <!-- ##### SIGNAL GtkTextView::move-cursor ##### -->
65 @textview: the object which received the signal.
70 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
75 @textview: the object which received the signal.
78 <!-- ##### SIGNAL GtkTextView::move-viewport ##### -->
83 @textview: the object which received the signal.
87 <!-- ##### SIGNAL GtkTextView::page-horizontally ##### -->
92 @textview: the object which received the signal.
96 <!-- ##### SIGNAL GtkTextView::paste-clipboard ##### -->
101 @textview: the object which received the signal.
103 <!-- ##### SIGNAL GtkTextView::populate-popup ##### -->
108 @textview: the object which received the signal.
111 <!-- ##### SIGNAL GtkTextView::select-all ##### -->
116 @textview: the object which received the signal.
119 <!-- ##### SIGNAL GtkTextView::set-anchor ##### -->
124 @textview: the object which received the signal.
126 <!-- ##### SIGNAL GtkTextView::set-scroll-adjustments ##### -->
131 @textview: the object which received the signal.
135 <!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### -->
140 @textview: the object which received the signal.
142 <!-- ##### ARG GtkTextView:accepts-tab ##### -->
147 <!-- ##### ARG GtkTextView:buffer ##### -->
152 <!-- ##### ARG GtkTextView:cursor-visible ##### -->
157 <!-- ##### ARG GtkTextView:editable ##### -->
162 <!-- ##### ARG GtkTextView:indent ##### -->
167 <!-- ##### ARG GtkTextView:justification ##### -->
172 <!-- ##### ARG GtkTextView:left-margin ##### -->
177 <!-- ##### ARG GtkTextView:overwrite ##### -->
182 <!-- ##### ARG GtkTextView:pixels-above-lines ##### -->
187 <!-- ##### ARG GtkTextView:pixels-below-lines ##### -->
192 <!-- ##### ARG GtkTextView:pixels-inside-wrap ##### -->
197 <!-- ##### ARG GtkTextView:right-margin ##### -->
202 <!-- ##### ARG GtkTextView:tabs ##### -->
207 <!-- ##### ARG GtkTextView:wrap-mode ##### -->
212 <!-- ##### ENUM GtkTextWindowType ##### -->
217 @GTK_TEXT_WINDOW_PRIVATE:
218 @GTK_TEXT_WINDOW_WIDGET:
219 @GTK_TEXT_WINDOW_TEXT:
220 @GTK_TEXT_WINDOW_LEFT:
221 @GTK_TEXT_WINDOW_RIGHT:
222 @GTK_TEXT_WINDOW_TOP:
223 @GTK_TEXT_WINDOW_BOTTOM:
225 <!-- ##### FUNCTION gtk_text_view_new ##### -->
233 <!-- ##### FUNCTION gtk_text_view_new_with_buffer ##### -->
242 <!-- ##### FUNCTION gtk_text_view_set_buffer ##### -->
251 <!-- ##### FUNCTION gtk_text_view_get_buffer ##### -->
260 <!-- ##### FUNCTION gtk_text_view_scroll_to_mark ##### -->
271 <!-- # Unused Parameters # -->
276 <!-- ##### FUNCTION gtk_text_view_scroll_to_iter ##### -->
290 <!-- ##### FUNCTION gtk_text_view_scroll_mark_onscreen ##### -->
297 <!-- # Unused Parameters # -->
301 <!-- ##### FUNCTION gtk_text_view_move_mark_onscreen ##### -->
311 <!-- ##### FUNCTION gtk_text_view_place_cursor_onscreen ##### -->
320 <!-- ##### FUNCTION gtk_text_view_get_visible_rect ##### -->
329 <!-- ##### FUNCTION gtk_text_view_get_iter_location ##### -->
339 <!-- ##### FUNCTION gtk_text_view_get_line_at_y ##### -->
350 <!-- ##### FUNCTION gtk_text_view_get_line_yrange ##### -->
361 <!-- ##### FUNCTION gtk_text_view_get_iter_at_location ##### -->
372 <!-- ##### FUNCTION gtk_text_view_buffer_to_window_coords ##### -->
385 <!-- ##### FUNCTION gtk_text_view_window_to_buffer_coords ##### -->
398 <!-- ##### FUNCTION gtk_text_view_get_window ##### -->
408 <!-- ##### FUNCTION gtk_text_view_get_window_type ##### -->
418 <!-- ##### FUNCTION gtk_text_view_set_border_window_size ##### -->
428 <!-- ##### FUNCTION gtk_text_view_get_border_window_size ##### -->
438 <!-- ##### FUNCTION gtk_text_view_forward_display_line ##### -->
448 <!-- ##### FUNCTION gtk_text_view_backward_display_line ##### -->
458 <!-- ##### FUNCTION gtk_text_view_forward_display_line_end ##### -->
468 <!-- ##### FUNCTION gtk_text_view_backward_display_line_start ##### -->
478 <!-- ##### FUNCTION gtk_text_view_starts_display_line ##### -->
488 <!-- ##### FUNCTION gtk_text_view_move_visually ##### -->
499 <!-- ##### FUNCTION gtk_text_view_add_child_at_anchor ##### -->
509 <!-- ##### STRUCT GtkTextChildAnchor ##### -->
511 A <structname>GtkTextChildAnchor</structname> is a spot in the buffer
512 where child widgets can be "anchored" (inserted inline, as if they were
513 characters). The anchor can have multiple widgets anchored, to allow for
518 <!-- ##### FUNCTION gtk_text_child_anchor_new ##### -->
526 <!-- ##### FUNCTION gtk_text_child_anchor_get_widgets ##### -->
535 <!-- ##### FUNCTION gtk_text_child_anchor_get_deleted ##### -->
544 <!-- ##### FUNCTION gtk_text_view_add_child_in_window ##### -->
556 <!-- ##### FUNCTION gtk_text_view_move_child ##### -->
567 <!-- ##### FUNCTION gtk_text_view_set_wrap_mode ##### -->
576 <!-- ##### FUNCTION gtk_text_view_get_wrap_mode ##### -->
585 <!-- ##### FUNCTION gtk_text_view_set_editable ##### -->
594 <!-- ##### FUNCTION gtk_text_view_get_editable ##### -->
603 <!-- ##### FUNCTION gtk_text_view_set_cursor_visible ##### -->
612 <!-- ##### FUNCTION gtk_text_view_get_cursor_visible ##### -->
621 <!-- ##### FUNCTION gtk_text_view_set_overwrite ##### -->
630 <!-- ##### FUNCTION gtk_text_view_get_overwrite ##### -->
639 <!-- ##### FUNCTION gtk_text_view_set_pixels_above_lines ##### -->
648 <!-- ##### FUNCTION gtk_text_view_get_pixels_above_lines ##### -->
657 <!-- ##### FUNCTION gtk_text_view_set_pixels_below_lines ##### -->
666 <!-- ##### FUNCTION gtk_text_view_get_pixels_below_lines ##### -->
675 <!-- ##### FUNCTION gtk_text_view_set_pixels_inside_wrap ##### -->
684 <!-- ##### FUNCTION gtk_text_view_get_pixels_inside_wrap ##### -->
693 <!-- ##### FUNCTION gtk_text_view_set_justification ##### -->
702 <!-- ##### FUNCTION gtk_text_view_get_justification ##### -->
711 <!-- ##### FUNCTION gtk_text_view_set_left_margin ##### -->
720 <!-- ##### FUNCTION gtk_text_view_get_left_margin ##### -->
729 <!-- ##### FUNCTION gtk_text_view_set_right_margin ##### -->
738 <!-- ##### FUNCTION gtk_text_view_get_right_margin ##### -->
747 <!-- ##### FUNCTION gtk_text_view_set_indent ##### -->
756 <!-- ##### FUNCTION gtk_text_view_get_indent ##### -->
765 <!-- ##### FUNCTION gtk_text_view_set_tabs ##### -->
774 <!-- ##### FUNCTION gtk_text_view_get_tabs ##### -->
783 <!-- ##### FUNCTION gtk_text_view_set_accepts_tab ##### -->
792 <!-- ##### FUNCTION gtk_text_view_get_accepts_tab ##### -->
801 <!-- ##### FUNCTION gtk_text_view_get_default_attributes ##### -->
810 <!-- ##### MACRO GTK_TEXT_VIEW_PRIORITY_VALIDATE ##### -->
812 The priority at which the text view validates onscreen lines
813 in an idle job in the background.