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 <!-- ##### ENUM GtkTextWindowType ##### -->
34 @GTK_TEXT_WINDOW_PRIVATE:
35 @GTK_TEXT_WINDOW_WIDGET:
36 @GTK_TEXT_WINDOW_TEXT:
37 @GTK_TEXT_WINDOW_LEFT:
38 @GTK_TEXT_WINDOW_RIGHT:
40 @GTK_TEXT_WINDOW_BOTTOM:
42 <!-- ##### FUNCTION gtk_text_view_new ##### -->
50 <!-- ##### FUNCTION gtk_text_view_new_with_buffer ##### -->
59 <!-- ##### FUNCTION gtk_text_view_set_buffer ##### -->
68 <!-- ##### FUNCTION gtk_text_view_get_buffer ##### -->
77 <!-- ##### FUNCTION gtk_text_view_scroll_to_mark ##### -->
88 <!-- # Unused Parameters # -->
93 <!-- ##### FUNCTION gtk_text_view_scroll_to_iter ##### -->
107 <!-- ##### FUNCTION gtk_text_view_scroll_mark_onscreen ##### -->
114 <!-- # Unused Parameters # -->
118 <!-- ##### FUNCTION gtk_text_view_move_mark_onscreen ##### -->
128 <!-- ##### FUNCTION gtk_text_view_place_cursor_onscreen ##### -->
137 <!-- ##### FUNCTION gtk_text_view_get_visible_rect ##### -->
146 <!-- ##### FUNCTION gtk_text_view_get_iter_location ##### -->
156 <!-- ##### FUNCTION gtk_text_view_get_line_at_y ##### -->
167 <!-- ##### FUNCTION gtk_text_view_get_line_yrange ##### -->
178 <!-- ##### FUNCTION gtk_text_view_get_iter_at_location ##### -->
189 <!-- ##### FUNCTION gtk_text_view_buffer_to_window_coords ##### -->
202 <!-- ##### FUNCTION gtk_text_view_window_to_buffer_coords ##### -->
215 <!-- ##### FUNCTION gtk_text_view_get_window ##### -->
225 <!-- ##### FUNCTION gtk_text_view_get_window_type ##### -->
235 <!-- ##### FUNCTION gtk_text_view_set_border_window_size ##### -->
245 <!-- ##### FUNCTION gtk_text_view_get_border_window_size ##### -->
255 <!-- ##### FUNCTION gtk_text_view_forward_display_line ##### -->
265 <!-- ##### FUNCTION gtk_text_view_backward_display_line ##### -->
275 <!-- ##### FUNCTION gtk_text_view_forward_display_line_end ##### -->
285 <!-- ##### FUNCTION gtk_text_view_backward_display_line_start ##### -->
295 <!-- ##### FUNCTION gtk_text_view_starts_display_line ##### -->
305 <!-- ##### FUNCTION gtk_text_view_move_visually ##### -->
316 <!-- ##### FUNCTION gtk_text_view_add_child_at_anchor ##### -->
326 <!-- ##### STRUCT GtkTextChildAnchor ##### -->
328 A <structname>GtkTextChildAnchor</structname> is a spot in the buffer
329 where child widgets can be "anchored" (inserted inline, as if they were
330 characters). The anchor can have multiple widgets anchored, to allow for
335 <!-- ##### FUNCTION gtk_text_child_anchor_new ##### -->
343 <!-- ##### FUNCTION gtk_text_child_anchor_get_widgets ##### -->
352 <!-- ##### FUNCTION gtk_text_child_anchor_get_deleted ##### -->
361 <!-- ##### FUNCTION gtk_text_view_add_child_in_window ##### -->
373 <!-- ##### FUNCTION gtk_text_view_move_child ##### -->
384 <!-- ##### FUNCTION gtk_text_view_set_wrap_mode ##### -->
393 <!-- ##### FUNCTION gtk_text_view_get_wrap_mode ##### -->
402 <!-- ##### FUNCTION gtk_text_view_set_editable ##### -->
411 <!-- ##### FUNCTION gtk_text_view_get_editable ##### -->
420 <!-- ##### FUNCTION gtk_text_view_set_cursor_visible ##### -->
429 <!-- ##### FUNCTION gtk_text_view_get_cursor_visible ##### -->
438 <!-- ##### FUNCTION gtk_text_view_set_overwrite ##### -->
447 <!-- ##### FUNCTION gtk_text_view_get_overwrite ##### -->
456 <!-- ##### FUNCTION gtk_text_view_set_pixels_above_lines ##### -->
465 <!-- ##### FUNCTION gtk_text_view_get_pixels_above_lines ##### -->
474 <!-- ##### FUNCTION gtk_text_view_set_pixels_below_lines ##### -->
483 <!-- ##### FUNCTION gtk_text_view_get_pixels_below_lines ##### -->
492 <!-- ##### FUNCTION gtk_text_view_set_pixels_inside_wrap ##### -->
501 <!-- ##### FUNCTION gtk_text_view_get_pixels_inside_wrap ##### -->
510 <!-- ##### FUNCTION gtk_text_view_set_justification ##### -->
519 <!-- ##### FUNCTION gtk_text_view_get_justification ##### -->
528 <!-- ##### FUNCTION gtk_text_view_set_left_margin ##### -->
537 <!-- ##### FUNCTION gtk_text_view_get_left_margin ##### -->
546 <!-- ##### FUNCTION gtk_text_view_set_right_margin ##### -->
555 <!-- ##### FUNCTION gtk_text_view_get_right_margin ##### -->
564 <!-- ##### FUNCTION gtk_text_view_set_indent ##### -->
573 <!-- ##### FUNCTION gtk_text_view_get_indent ##### -->
582 <!-- ##### FUNCTION gtk_text_view_set_tabs ##### -->
591 <!-- ##### FUNCTION gtk_text_view_get_tabs ##### -->
600 <!-- ##### FUNCTION gtk_text_view_get_default_attributes ##### -->
609 <!-- ##### MACRO GTK_TEXT_VIEW_PRIORITY_VALIDATE ##### -->
611 The priority at which the text view validates onscreen lines
612 in an idle job in the background.
617 <!-- ##### SIGNAL GtkTextView::copy-clipboard ##### -->
622 @textview: the object which received the signal.
624 <!-- ##### SIGNAL GtkTextView::cut-clipboard ##### -->
629 @textview: the object which received the signal.
631 <!-- ##### SIGNAL GtkTextView::delete-from-cursor ##### -->
636 @textview: the object which received the signal.
640 <!-- ##### SIGNAL GtkTextView::insert-at-cursor ##### -->
645 @textview: the object which received the signal.
648 <!-- ##### SIGNAL GtkTextView::move-cursor ##### -->
653 @textview: the object which received the signal.
658 <!-- ##### SIGNAL GtkTextView::move-focus ##### -->
663 @textview: the object which received the signal.
666 <!-- ##### SIGNAL GtkTextView::move-viewport ##### -->
671 @textview: the object which received the signal.
675 <!-- ##### SIGNAL GtkTextView::page-horizontally ##### -->
680 @textview: the object which received the signal.
684 <!-- ##### SIGNAL GtkTextView::paste-clipboard ##### -->
689 @textview: the object which received the signal.
691 <!-- ##### SIGNAL GtkTextView::populate-popup ##### -->
696 @textview: the object which received the signal.
699 <!-- ##### SIGNAL GtkTextView::select-all ##### -->
704 @textview: the object which received the signal.
707 <!-- ##### SIGNAL GtkTextView::set-anchor ##### -->
712 @textview: the object which received the signal.
714 <!-- ##### SIGNAL GtkTextView::set-scroll-adjustments ##### -->
719 @textview: the object which received the signal.
723 <!-- ##### SIGNAL GtkTextView::toggle-overwrite ##### -->
728 @textview: the object which received the signal.
730 <!-- ##### ARG GtkTextView:buffer ##### -->
735 <!-- ##### ARG GtkTextView:cursor-visible ##### -->
740 <!-- ##### ARG GtkTextView:editable ##### -->
745 <!-- ##### ARG GtkTextView:indent ##### -->
750 <!-- ##### ARG GtkTextView:justification ##### -->
755 <!-- ##### ARG GtkTextView:left-margin ##### -->
760 <!-- ##### ARG GtkTextView:overwrite ##### -->
765 <!-- ##### ARG GtkTextView:pixels-above-lines ##### -->
770 <!-- ##### ARG GtkTextView:pixels-below-lines ##### -->
775 <!-- ##### ARG GtkTextView:pixels-inside-wrap ##### -->
780 <!-- ##### ARG GtkTextView:right-margin ##### -->
785 <!-- ##### ARG GtkTextView:tabs ##### -->
790 <!-- ##### ARG GtkTextView:wrap-mode ##### -->