.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ======================================================================== .\" .IX Title "Gtk2::TextView 3pm" .TH Gtk2::TextView 3pm "2015-02-24" "perl v5.14.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::TextView \- wrapper for GtkTextView .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 6 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::TextView .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH "METHODS" .IX Header "METHODS" .SS "widget = Gtk2::TextView\->\fBnew\fP" .IX Subsection "widget = Gtk2::TextView->new" .SS "widget = Gtk2::TextView\->\fBnew_with_buffer\fP ($buffer)" .IX Subsection "widget = Gtk2::TextView->new_with_buffer ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::TextBuffer) .ie n .SS "boolean = $text_view\->\fBget_accepts_tab\fP" .el .SS "boolean = \f(CW$text_view\fP\->\fBget_accepts_tab\fP" .IX Subsection "boolean = $text_view->get_accepts_tab" Since: gtk+ 2.4 .ie n .SS "$text_view\->\fBset_accepts_tab\fP ($accepts_tab)" .el .SS "\f(CW$text_view\fP\->\fBset_accepts_tab\fP ($accepts_tab)" .IX Subsection "$text_view->set_accepts_tab ($accepts_tab)" .IP "\(bu" 4 \&\f(CW$accepts_tab\fR (boolean) .PP Since: gtk+ 2.4 .ie n .SS "$text_view\->\fBadd_child_at_anchor\fP ($child, $anchor)" .el .SS "\f(CW$text_view\fP\->\fBadd_child_at_anchor\fP ($child, \f(CW$anchor\fP)" .IX Subsection "$text_view->add_child_at_anchor ($child, $anchor)" .IP "\(bu" 4 \&\f(CW$child\fR (Gtk2::Widget) .IP "\(bu" 4 \&\f(CW$anchor\fR (Gtk2::TextChildAnchor) .ie n .SS "$text_view\->\fBadd_child_in_window\fP ($child, $which_window, $xpos, $ypos)" .el .SS "\f(CW$text_view\fP\->\fBadd_child_in_window\fP ($child, \f(CW$which_window\fP, \f(CW$xpos\fP, \f(CW$ypos\fP)" .IX Subsection "$text_view->add_child_in_window ($child, $which_window, $xpos, $ypos)" .IP "\(bu" 4 \&\f(CW$child\fR (Gtk2::Widget) .IP "\(bu" 4 \&\f(CW$which_window\fR (Gtk2::TextWindowType) .IP "\(bu" 4 \&\f(CW$xpos\fR (integer) .IP "\(bu" 4 \&\f(CW$ypos\fR (integer) .ie n .SS "boolean = $text_view\->\fBbackward_display_line\fP ($iter)" .el .SS "boolean = \f(CW$text_view\fP\->\fBbackward_display_line\fP ($iter)" .IX Subsection "boolean = $text_view->backward_display_line ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "boolean = $text_view\->\fBbackward_display_line_start\fP ($iter)" .el .SS "boolean = \f(CW$text_view\fP\->\fBbackward_display_line_start\fP ($iter)" .IX Subsection "boolean = $text_view->backward_display_line_start ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "integer = $text_view\->\fBget_border_window_size\fP ($type)" .el .SS "integer = \f(CW$text_view\fP\->\fBget_border_window_size\fP ($type)" .IX Subsection "integer = $text_view->get_border_window_size ($type)" .IP "\(bu" 4 \&\f(CW$type\fR (Gtk2::TextWindowType) .ie n .SS "$text_view\->\fBset_border_window_size\fP ($type, $size)" .el .SS "\f(CW$text_view\fP\->\fBset_border_window_size\fP ($type, \f(CW$size\fP)" .IX Subsection "$text_view->set_border_window_size ($type, $size)" .IP "\(bu" 4 \&\f(CW$type\fR (Gtk2::TextWindowType) .IP "\(bu" 4 \&\f(CW$size\fR (integer) .ie n .SS "textbuffer = $text_view\->\fBget_buffer\fP" .el .SS "textbuffer = \f(CW$text_view\fP\->\fBget_buffer\fP" .IX Subsection "textbuffer = $text_view->get_buffer" .ie n .SS "$text_view\->\fBset_buffer\fP ($buffer)" .el .SS "\f(CW$text_view\fP\->\fBset_buffer\fP ($buffer)" .IX Subsection "$text_view->set_buffer ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::TextBuffer) .ie n .SS "(window_x, window_y) = $text_view\->\fBbuffer_to_window_coords\fP ($win, $buffer_x, $buffer_y)" .el .SS "(window_x, window_y) = \f(CW$text_view\fP\->\fBbuffer_to_window_coords\fP ($win, \f(CW$buffer_x\fP, \f(CW$buffer_y\fP)" .IX Subsection "(window_x, window_y) = $text_view->buffer_to_window_coords ($win, $buffer_x, $buffer_y)" .IP "\(bu" 4 \&\f(CW$win\fR (Gtk2::TextWindowType) .IP "\(bu" 4 \&\f(CW$buffer_x\fR (integer) .IP "\(bu" 4 \&\f(CW$buffer_y\fR (integer) .ie n .SS "boolean = $text_view\->\fBget_cursor_visible\fP" .el .SS "boolean = \f(CW$text_view\fP\->\fBget_cursor_visible\fP" .IX Subsection "boolean = $text_view->get_cursor_visible" .ie n .SS "$text_view\->\fBset_cursor_visible\fP ($setting)" .el .SS "\f(CW$text_view\fP\->\fBset_cursor_visible\fP ($setting)" .IX Subsection "$text_view->set_cursor_visible ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .ie n .SS "textattributes = $text_view\->\fBget_default_attributes\fP" .el .SS "textattributes = \f(CW$text_view\fP\->\fBget_default_attributes\fP" .IX Subsection "textattributes = $text_view->get_default_attributes" .ie n .SS "boolean = $text_view\->\fBget_editable\fP" .el .SS "boolean = \f(CW$text_view\fP\->\fBget_editable\fP" .IX Subsection "boolean = $text_view->get_editable" .ie n .SS "$text_view\->\fBset_editable\fP ($setting)" .el .SS "\f(CW$text_view\fP\->\fBset_editable\fP ($setting)" .IX Subsection "$text_view->set_editable ($setting)" .IP "\(bu" 4 \&\f(CW$setting\fR (boolean) .ie n .SS "boolean = $text_view\->\fBforward_display_line\fP ($iter)" .el .SS "boolean = \f(CW$text_view\fP\->\fBforward_display_line\fP ($iter)" .IX Subsection "boolean = $text_view->forward_display_line ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "boolean = $text_view\->\fBforward_display_line_end\fP ($iter)" .el .SS "boolean = \f(CW$text_view\fP\->\fBforward_display_line_end\fP ($iter)" .IX Subsection "boolean = $text_view->forward_display_line_end ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "adjustment = $text_view\->\fBget_hadjustment\fP" .el .SS "adjustment = \f(CW$text_view\fP\->\fBget_hadjustment\fP" .IX Subsection "adjustment = $text_view->get_hadjustment" Since: gtk+ 2.22 .ie n .SS "boolean = $text_view\->\fBim_context_filter_keypress\fP ($event)" .el .SS "boolean = \f(CW$text_view\fP\->\fBim_context_filter_keypress\fP ($event)" .IX Subsection "boolean = $text_view->im_context_filter_keypress ($event)" .IP "\(bu" 4 \&\f(CW$event\fR (Gtk2::Gdk::Event) .PP Since: gtk+ 2.22 .ie n .SS "integer = $text_view\->\fBget_indent\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_indent\fP" .IX Subsection "integer = $text_view->get_indent" .ie n .SS "$text_view\->\fBset_indent\fP ($indent)" .el .SS "\f(CW$text_view\fP\->\fBset_indent\fP ($indent)" .IX Subsection "$text_view->set_indent ($indent)" .IP "\(bu" 4 \&\f(CW$indent\fR (integer) .ie n .SS "textiter = $text_view\->\fBget_iter_at_location\fP ($x, $y)" .el .SS "textiter = \f(CW$text_view\fP\->\fBget_iter_at_location\fP ($x, \f(CW$y\fP)" .IX Subsection "textiter = $text_view->get_iter_at_location ($x, $y)" .IP "\(bu" 4 \&\f(CW$x\fR (integer) .IP "\(bu" 4 \&\f(CW$y\fR (integer) .ie n .SS "($iter, $trailing) = $text_view\->\fBget_iter_at_position\fP ($x, $y)" .el .SS "($iter, \f(CW$trailing\fP) = \f(CW$text_view\fP\->\fBget_iter_at_position\fP ($x, \f(CW$y\fP)" .IX Subsection "($iter, $trailing) = $text_view->get_iter_at_position ($x, $y)" .ie n .SS "$iter = $text_view\->\fBget_iter_at_position\fP ($x, $y)" .el .SS "\f(CW$iter\fP = \f(CW$text_view\fP\->\fBget_iter_at_position\fP ($x, \f(CW$y\fP)" .IX Subsection "$iter = $text_view->get_iter_at_position ($x, $y)" .IP "\(bu" 4 \&\f(CW$x\fR (integer) .IP "\(bu" 4 \&\f(CW$y\fR (integer) .PP Retrieves the iterator pointing to the character at buffer coordinates x and y. Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with \&\f(CW\*(C`$text_view\->window_to_buffer_coords()\*(C'\fR. .PP Note that this is different from \f(CW\*(C`$text_view\->get_iter_at_location()\*(C'\fR, which returns cursor locations, i.e. positions between characters. .PP Since: gtk+ 2.6 .ie n .SS "rectangle = $text_view\->\fBget_iter_location\fP ($iter)" .el .SS "rectangle = \f(CW$text_view\fP\->\fBget_iter_location\fP ($iter)" .IX Subsection "rectangle = $text_view->get_iter_location ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "justification = $text_view\->\fBget_justification\fP" .el .SS "justification = \f(CW$text_view\fP\->\fBget_justification\fP" .IX Subsection "justification = $text_view->get_justification" .ie n .SS "$text_view\->\fBset_justification\fP ($justification)" .el .SS "\f(CW$text_view\fP\->\fBset_justification\fP ($justification)" .IX Subsection "$text_view->set_justification ($justification)" .IP "\(bu" 4 \&\f(CW$justification\fR (Gtk2::Justification) .ie n .SS "integer = $text_view\->\fBget_left_margin\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_left_margin\fP" .IX Subsection "integer = $text_view->get_left_margin" .ie n .SS "$text_view\->\fBset_left_margin\fP ($left_margin)" .el .SS "\f(CW$text_view\fP\->\fBset_left_margin\fP ($left_margin)" .IX Subsection "$text_view->set_left_margin ($left_margin)" .IP "\(bu" 4 \&\f(CW$left_margin\fR (integer) .ie n .SS "(target_iter, line_top) = $text_view\->\fBget_line_at_y\fP ($y)" .el .SS "(target_iter, line_top) = \f(CW$text_view\fP\->\fBget_line_at_y\fP ($y)" .IX Subsection "(target_iter, line_top) = $text_view->get_line_at_y ($y)" .IP "\(bu" 4 \&\f(CW$y\fR (integer) .ie n .SS "(y, height) = $text_view\->\fBget_line_yrange\fP ($iter)" .el .SS "(y, height) = \f(CW$text_view\fP\->\fBget_line_yrange\fP ($iter)" .IX Subsection "(y, height) = $text_view->get_line_yrange ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "$text_view\->\fBmove_child\fP ($child, $xpos, $ypos)" .el .SS "\f(CW$text_view\fP\->\fBmove_child\fP ($child, \f(CW$xpos\fP, \f(CW$ypos\fP)" .IX Subsection "$text_view->move_child ($child, $xpos, $ypos)" .IP "\(bu" 4 \&\f(CW$child\fR (Gtk2::Widget) .IP "\(bu" 4 \&\f(CW$xpos\fR (integer) .IP "\(bu" 4 \&\f(CW$ypos\fR (integer) .ie n .SS "boolean = $text_view\->\fBmove_mark_onscreen\fP ($mark)" .el .SS "boolean = \f(CW$text_view\fP\->\fBmove_mark_onscreen\fP ($mark)" .IX Subsection "boolean = $text_view->move_mark_onscreen ($mark)" .IP "\(bu" 4 \&\f(CW$mark\fR (Gtk2::TextMark) .ie n .SS "boolean = $text_view\->\fBmove_visually\fP ($iter, $count)" .el .SS "boolean = \f(CW$text_view\fP\->\fBmove_visually\fP ($iter, \f(CW$count\fP)" .IX Subsection "boolean = $text_view->move_visually ($iter, $count)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$count\fR (integer) .ie n .SS "boolean = $text_view\->\fBget_overwrite\fP" .el .SS "boolean = \f(CW$text_view\fP\->\fBget_overwrite\fP" .IX Subsection "boolean = $text_view->get_overwrite" Since: gtk+ 2.4 .ie n .SS "$text_view\->\fBset_overwrite\fP ($overwrite)" .el .SS "\f(CW$text_view\fP\->\fBset_overwrite\fP ($overwrite)" .IX Subsection "$text_view->set_overwrite ($overwrite)" .IP "\(bu" 4 \&\f(CW$overwrite\fR (boolean) .PP Since: gtk+ 2.4 .ie n .SS "integer = $text_view\->\fBget_pixels_above_lines\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_pixels_above_lines\fP" .IX Subsection "integer = $text_view->get_pixels_above_lines" .ie n .SS "$text_view\->\fBset_pixels_above_lines\fP ($pixels_above_lines)" .el .SS "\f(CW$text_view\fP\->\fBset_pixels_above_lines\fP ($pixels_above_lines)" .IX Subsection "$text_view->set_pixels_above_lines ($pixels_above_lines)" .IP "\(bu" 4 \&\f(CW$pixels_above_lines\fR (integer) .ie n .SS "integer = $text_view\->\fBget_pixels_below_lines\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_pixels_below_lines\fP" .IX Subsection "integer = $text_view->get_pixels_below_lines" .ie n .SS "$text_view\->\fBset_pixels_below_lines\fP ($pixels_below_lines)" .el .SS "\f(CW$text_view\fP\->\fBset_pixels_below_lines\fP ($pixels_below_lines)" .IX Subsection "$text_view->set_pixels_below_lines ($pixels_below_lines)" .IP "\(bu" 4 \&\f(CW$pixels_below_lines\fR (integer) .ie n .SS "integer = $text_view\->\fBget_pixels_inside_wrap\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_pixels_inside_wrap\fP" .IX Subsection "integer = $text_view->get_pixels_inside_wrap" .ie n .SS "$text_view\->\fBset_pixels_inside_wrap\fP ($pixels_inside_wrap)" .el .SS "\f(CW$text_view\fP\->\fBset_pixels_inside_wrap\fP ($pixels_inside_wrap)" .IX Subsection "$text_view->set_pixels_inside_wrap ($pixels_inside_wrap)" .IP "\(bu" 4 \&\f(CW$pixels_inside_wrap\fR (integer) .ie n .SS "boolean = $text_view\->\fBplace_cursor_onscreen\fP" .el .SS "boolean = \f(CW$text_view\fP\->\fBplace_cursor_onscreen\fP" .IX Subsection "boolean = $text_view->place_cursor_onscreen" .ie n .SS "$text_view\->\fBreset_im_context\fP" .el .SS "\f(CW$text_view\fP\->\fBreset_im_context\fP" .IX Subsection "$text_view->reset_im_context" Since: gtk+ 2.22 .ie n .SS "integer = $text_view\->\fBget_right_margin\fP" .el .SS "integer = \f(CW$text_view\fP\->\fBget_right_margin\fP" .IX Subsection "integer = $text_view->get_right_margin" .ie n .SS "$text_view\->\fBset_right_margin\fP ($right_margin)" .el .SS "\f(CW$text_view\fP\->\fBset_right_margin\fP ($right_margin)" .IX Subsection "$text_view->set_right_margin ($right_margin)" .IP "\(bu" 4 \&\f(CW$right_margin\fR (integer) .ie n .SS "$text_view\->\fBscroll_mark_onscreen\fP ($mark)" .el .SS "\f(CW$text_view\fP\->\fBscroll_mark_onscreen\fP ($mark)" .IX Subsection "$text_view->scroll_mark_onscreen ($mark)" .IP "\(bu" 4 \&\f(CW$mark\fR (Gtk2::TextMark) .ie n .SS "boolean = $text_view\->\fBscroll_to_iter\fP ($iter, $within_margin, $use_align, $xalign, $yalign)" .el .SS "boolean = \f(CW$text_view\fP\->\fBscroll_to_iter\fP ($iter, \f(CW$within_margin\fP, \f(CW$use_align\fP, \f(CW$xalign\fP, \f(CW$yalign\fP)" .IX Subsection "boolean = $text_view->scroll_to_iter ($iter, $within_margin, $use_align, $xalign, $yalign)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$within_margin\fR (double) .IP "\(bu" 4 \&\f(CW$use_align\fR (boolean) .IP "\(bu" 4 \&\f(CW$xalign\fR (double) .IP "\(bu" 4 \&\f(CW$yalign\fR (double) .ie n .SS "$text_view\->\fBscroll_to_mark\fP ($mark, $within_margin, $use_align, $xalign, $yalign)" .el .SS "\f(CW$text_view\fP\->\fBscroll_to_mark\fP ($mark, \f(CW$within_margin\fP, \f(CW$use_align\fP, \f(CW$xalign\fP, \f(CW$yalign\fP)" .IX Subsection "$text_view->scroll_to_mark ($mark, $within_margin, $use_align, $xalign, $yalign)" .IP "\(bu" 4 \&\f(CW$mark\fR (Gtk2::TextMark) .IP "\(bu" 4 \&\f(CW$within_margin\fR (double) .IP "\(bu" 4 \&\f(CW$use_align\fR (boolean) .IP "\(bu" 4 \&\f(CW$xalign\fR (double) .IP "\(bu" 4 \&\f(CW$yalign\fR (double) .ie n .SS "boolean = $text_view\->\fBstarts_display_line\fP ($iter)" .el .SS "boolean = \f(CW$text_view\fP\->\fBstarts_display_line\fP ($iter)" .IX Subsection "boolean = $text_view->starts_display_line ($iter)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .ie n .SS "tabarray = $text_view\->\fBget_tabs\fP" .el .SS "tabarray = \f(CW$text_view\fP\->\fBget_tabs\fP" .IX Subsection "tabarray = $text_view->get_tabs" .ie n .SS "$text_view\->\fBset_tabs\fP ($tabs)" .el .SS "\f(CW$text_view\fP\->\fBset_tabs\fP ($tabs)" .IX Subsection "$text_view->set_tabs ($tabs)" .IP "\(bu" 4 \&\f(CW$tabs\fR (Pango::TabArray) .ie n .SS "adjustment = $text_view\->\fBget_vadjustment\fP" .el .SS "adjustment = \f(CW$text_view\fP\->\fBget_vadjustment\fP" .IX Subsection "adjustment = $text_view->get_vadjustment" Since: gtk+ 2.22 .ie n .SS "rectangle = $text_view\->\fBget_visible_rect\fP" .el .SS "rectangle = \f(CW$text_view\fP\->\fBget_visible_rect\fP" .IX Subsection "rectangle = $text_view->get_visible_rect" .ie n .SS "window = $text_view\->\fBget_window\fP ($win)" .el .SS "window = \f(CW$text_view\fP\->\fBget_window\fP ($win)" .IX Subsection "window = $text_view->get_window ($win)" .IP "\(bu" 4 \&\f(CW$win\fR (Gtk2::TextWindowType) .ie n .SS "(buffer_x, buffer_y) = $text_view\->\fBwindow_to_buffer_coords\fP ($win, $window_x, $window_y)" .el .SS "(buffer_x, buffer_y) = \f(CW$text_view\fP\->\fBwindow_to_buffer_coords\fP ($win, \f(CW$window_x\fP, \f(CW$window_y\fP)" .IX Subsection "(buffer_x, buffer_y) = $text_view->window_to_buffer_coords ($win, $window_x, $window_y)" .IP "\(bu" 4 \&\f(CW$win\fR (Gtk2::TextWindowType) .IP "\(bu" 4 \&\f(CW$window_x\fR (integer) .IP "\(bu" 4 \&\f(CW$window_y\fR (integer) .ie n .SS "textwindowtype = $text_view\->\fBget_window_type\fP ($window)" .el .SS "textwindowtype = \f(CW$text_view\fP\->\fBget_window_type\fP ($window)" .IX Subsection "textwindowtype = $text_view->get_window_type ($window)" .IP "\(bu" 4 \&\f(CW$window\fR (Gtk2::Gdk::Window) .ie n .SS "wrapmode = $text_view\->\fBget_wrap_mode\fP" .el .SS "wrapmode = \f(CW$text_view\fP\->\fBget_wrap_mode\fP" .IX Subsection "wrapmode = $text_view->get_wrap_mode" .ie n .SS "$text_view\->\fBset_wrap_mode\fP ($wrap_mode)" .el .SS "\f(CW$text_view\fP\->\fBset_wrap_mode\fP ($wrap_mode)" .IX Subsection "$text_view->set_wrap_mode ($wrap_mode)" .IP "\(bu" 4 \&\f(CW$wrap_mode\fR (Gtk2::WrapMode) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'accepts\-tab' (boolean : default true : readable / writable / private)" 4 .IX Item "'accepts-tab' (boolean : default true : readable / writable / private)" Whether Tab will result in a tab character being entered .IP "'buffer' (Gtk2::TextBuffer : default undef : readable / writable / private)" 4 .IX Item "'buffer' (Gtk2::TextBuffer : default undef : readable / writable / private)" The buffer which is displayed .IP "'cursor\-visible' (boolean : default true : readable / writable / private)" 4 .IX Item "'cursor-visible' (boolean : default true : readable / writable / private)" If the insertion cursor is shown .IP "'editable' (boolean : default true : readable / writable / private)" 4 .IX Item "'editable' (boolean : default true : readable / writable / private)" Whether the text can be modified by the user .IP "'im\-module' (string : default undef : readable / writable / private)" 4 .IX Item "'im-module' (string : default undef : readable / writable / private)" Which \s-1IM\s0 module should be used .IP "'indent' (integer : default 0 : readable / writable / private)" 4 .IX Item "'indent' (integer : default 0 : readable / writable / private)" Amount to indent the paragraph, in pixels .ie n .IP "'justification' (Gtk2::Justification : default ""left"" : readable / writable / private)" 4 .el .IP "'justification' (Gtk2::Justification : default ``left'' : readable / writable / private)" 4 .IX Item "'justification' (Gtk2::Justification : default left : readable / writable / private)" Left, right, or center justification .IP "'left\-margin' (integer : default 0 : readable / writable / private)" 4 .IX Item "'left-margin' (integer : default 0 : readable / writable / private)" Width of the left margin in pixels .IP "'overwrite' (boolean : default false : readable / writable / private)" 4 .IX Item "'overwrite' (boolean : default false : readable / writable / private)" Whether entered text overwrites existing contents .IP "'pixels\-above\-lines' (integer : default 0 : readable / writable / private)" 4 .IX Item "'pixels-above-lines' (integer : default 0 : readable / writable / private)" Pixels of blank space above paragraphs .IP "'pixels\-below\-lines' (integer : default 0 : readable / writable / private)" 4 .IX Item "'pixels-below-lines' (integer : default 0 : readable / writable / private)" Pixels of blank space below paragraphs .IP "'pixels\-inside\-wrap' (integer : default 0 : readable / writable / private)" 4 .IX Item "'pixels-inside-wrap' (integer : default 0 : readable / writable / private)" Pixels of blank space between wrapped lines in a paragraph .IP "'right\-margin' (integer : default 0 : readable / writable / private)" 4 .IX Item "'right-margin' (integer : default 0 : readable / writable / private)" Width of the right margin in pixels .IP "'tabs' (Pango::TabArray : default undef : readable / writable / private)" 4 .IX Item "'tabs' (Pango::TabArray : default undef : readable / writable / private)" Custom tabs for this text .ie n .IP "'wrap\-mode' (Gtk2::WrapMode : default ""none"" : readable / writable / private)" 4 .el .IP "'wrap\-mode' (Gtk2::WrapMode : default ``none'' : readable / writable / private)" 4 .IX Item "'wrap-mode' (Gtk2::WrapMode : default none : readable / writable / private)" Whether to wrap lines never, at word boundaries, or at character boundaries .SH "STYLE PROPERTIES" .IX Header "STYLE PROPERTIES" .IP "'error\-underline\-color' (Gtk2::Gdk::Color : default undef : readable / private)" 4 .IX Item "'error-underline-color' (Gtk2::Gdk::Color : default undef : readable / private)" Color with which to draw error-indication underlines .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBset-scroll-adjustments\fR (Gtk2::TextView, Gtk2::Adjustment, Gtk2::Adjustment)" 4 .IX Item "set-scroll-adjustments (Gtk2::TextView, Gtk2::Adjustment, Gtk2::Adjustment)" .PD 0 .IP "\fBselect-all\fR (Gtk2::TextView, boolean)" 4 .IX Item "select-all (Gtk2::TextView, boolean)" .IP "\fBmove-cursor\fR (Gtk2::TextView, Gtk2::MovementStep, integer, boolean)" 4 .IX Item "move-cursor (Gtk2::TextView, Gtk2::MovementStep, integer, boolean)" .IP "\fBpreedit-changed\fR (Gtk2::TextView, string)" 4 .IX Item "preedit-changed (Gtk2::TextView, string)" .IP "\fBpage-horizontally\fR (Gtk2::TextView, integer, boolean)" 4 .IX Item "page-horizontally (Gtk2::TextView, integer, boolean)" .IP "\fBmove-viewport\fR (Gtk2::TextView, GtkScrollStep, integer)" 4 .IX Item "move-viewport (Gtk2::TextView, GtkScrollStep, integer)" .IP "\fBset-anchor\fR (Gtk2::TextView)" 4 .IX Item "set-anchor (Gtk2::TextView)" .IP "\fBinsert-at-cursor\fR (Gtk2::TextView, string)" 4 .IX Item "insert-at-cursor (Gtk2::TextView, string)" .IP "\fBdelete-from-cursor\fR (Gtk2::TextView, Gtk2::DeleteType, integer)" 4 .IX Item "delete-from-cursor (Gtk2::TextView, Gtk2::DeleteType, integer)" .IP "\fBbackspace\fR (Gtk2::TextView)" 4 .IX Item "backspace (Gtk2::TextView)" .IP "\fBcut-clipboard\fR (Gtk2::TextView)" 4 .IX Item "cut-clipboard (Gtk2::TextView)" .IP "\fBcopy-clipboard\fR (Gtk2::TextView)" 4 .IX Item "copy-clipboard (Gtk2::TextView)" .IP "\fBpaste-clipboard\fR (Gtk2::TextView)" 4 .IX Item "paste-clipboard (Gtk2::TextView)" .IP "\fBtoggle-overwrite\fR (Gtk2::TextView)" 4 .IX Item "toggle-overwrite (Gtk2::TextView)" .IP "\fBpopulate-popup\fR (Gtk2::TextView, Gtk2::Menu)" 4 .IX Item "populate-popup (Gtk2::TextView, Gtk2::Menu)" .IP "\fBtoggle-cursor-visible\fR (Gtk2::TextView)" 4 .IX Item "toggle-cursor-visible (Gtk2::TextView)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::DeleteType" .IX Subsection "enum Gtk2::DeleteType" .IP "\(bu" 4 \&'chars' / '\s-1GTK_DELETE_CHARS\s0' .IP "\(bu" 4 \&'word\-ends' / '\s-1GTK_DELETE_WORD_ENDS\s0' .IP "\(bu" 4 \&'words' / '\s-1GTK_DELETE_WORDS\s0' .IP "\(bu" 4 \&'display\-lines' / '\s-1GTK_DELETE_DISPLAY_LINES\s0' .IP "\(bu" 4 \&'display\-line\-ends' / '\s-1GTK_DELETE_DISPLAY_LINE_ENDS\s0' .IP "\(bu" 4 \&'paragraph\-ends' / '\s-1GTK_DELETE_PARAGRAPH_ENDS\s0' .IP "\(bu" 4 \&'paragraphs' / '\s-1GTK_DELETE_PARAGRAPHS\s0' .IP "\(bu" 4 \&'whitespace' / '\s-1GTK_DELETE_WHITESPACE\s0' .SS "enum Gtk2::Justification" .IX Subsection "enum Gtk2::Justification" .IP "\(bu" 4 \&'left' / '\s-1GTK_JUSTIFY_LEFT\s0' .IP "\(bu" 4 \&'right' / '\s-1GTK_JUSTIFY_RIGHT\s0' .IP "\(bu" 4 \&'center' / '\s-1GTK_JUSTIFY_CENTER\s0' .IP "\(bu" 4 \&'fill' / '\s-1GTK_JUSTIFY_FILL\s0' .SS "enum Gtk2::MovementStep" .IX Subsection "enum Gtk2::MovementStep" .IP "\(bu" 4 \&'logical\-positions' / '\s-1GTK_MOVEMENT_LOGICAL_POSITIONS\s0' .IP "\(bu" 4 \&'visual\-positions' / '\s-1GTK_MOVEMENT_VISUAL_POSITIONS\s0' .IP "\(bu" 4 \&'words' / '\s-1GTK_MOVEMENT_WORDS\s0' .IP "\(bu" 4 \&'display\-lines' / '\s-1GTK_MOVEMENT_DISPLAY_LINES\s0' .IP "\(bu" 4 \&'display\-line\-ends' / '\s-1GTK_MOVEMENT_DISPLAY_LINE_ENDS\s0' .IP "\(bu" 4 \&'paragraphs' / '\s-1GTK_MOVEMENT_PARAGRAPHS\s0' .IP "\(bu" 4 \&'paragraph\-ends' / '\s-1GTK_MOVEMENT_PARAGRAPH_ENDS\s0' .IP "\(bu" 4 \&'pages' / '\s-1GTK_MOVEMENT_PAGES\s0' .IP "\(bu" 4 \&'buffer\-ends' / '\s-1GTK_MOVEMENT_BUFFER_ENDS\s0' .IP "\(bu" 4 \&'horizontal\-pages' / '\s-1GTK_MOVEMENT_HORIZONTAL_PAGES\s0' .SS "enum Gtk2::TextWindowType" .IX Subsection "enum Gtk2::TextWindowType" .IP "\(bu" 4 \&'private' / '\s-1GTK_TEXT_WINDOW_PRIVATE\s0' .IP "\(bu" 4 \&'widget' / '\s-1GTK_TEXT_WINDOW_WIDGET\s0' .IP "\(bu" 4 \&'text' / '\s-1GTK_TEXT_WINDOW_TEXT\s0' .IP "\(bu" 4 \&'left' / '\s-1GTK_TEXT_WINDOW_LEFT\s0' .IP "\(bu" 4 \&'right' / '\s-1GTK_TEXT_WINDOW_RIGHT\s0' .IP "\(bu" 4 \&'top' / '\s-1GTK_TEXT_WINDOW_TOP\s0' .IP "\(bu" 4 \&'bottom' / '\s-1GTK_TEXT_WINDOW_BOTTOM\s0' .SS "enum Gtk2::WrapMode" .IX Subsection "enum Gtk2::WrapMode" .IP "\(bu" 4 \&'none' / '\s-1GTK_WRAP_NONE\s0' .IP "\(bu" 4 \&'char' / '\s-1GTK_WRAP_CHAR\s0' .IP "\(bu" 4 \&'word' / '\s-1GTK_WRAP_WORD\s0' .IP "\(bu" 4 \&'word\-char' / '\s-1GTK_WRAP_WORD_CHAR\s0' .SS "enum GtkScrollStep" .IX Subsection "enum GtkScrollStep" .IP "\(bu" 4 \&'steps' / '\s-1GTK_SCROLL_STEPS\s0' .IP "\(bu" 4 \&'pages' / '\s-1GTK_SCROLL_PAGES\s0' .IP "\(bu" 4 \&'ends' / '\s-1GTK_SCROLL_ENDS\s0' .IP "\(bu" 4 \&'horizontal\-steps' / '\s-1GTK_SCROLL_HORIZONTAL_STEPS\s0' .IP "\(bu" 4 \&'horizontal\-pages' / '\s-1GTK_SCROLL_HORIZONTAL_PAGES\s0' .IP "\(bu" 4 \&'horizontal\-ends' / '\s-1GTK_SCROLL_HORIZONTAL_ENDS\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL\s0. See Gtk2 for a full notice.