.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) .\" .\" 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" '' . ds C` . ds C' '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. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{ . if \nF \{ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" .\" 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::SourceView2::View 3pm" .TH Gtk2::SourceView2::View 3pm "2014-08-15" "perl v5.20.0" "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::SourceView2::View .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::TextView \& +\-\-\-\-Gtk2::SourceView2::View .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH "METHODS" .IX Header "METHODS" .SS "widget = Gtk2::SourceView2::View\->\fBnew\fP" .IX Subsection "widget = Gtk2::SourceView2::View->new" .SS "widget = Gtk2::SourceView2::View\->\fBnew_with_buffer\fP ($buffer)" .IX Subsection "widget = Gtk2::SourceView2::View->new_with_buffer ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::SourceView2::Buffer) .ie n .SS "boolean = $view\->\fBget_auto_indent\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_auto_indent\fP" .IX Subsection "boolean = $view->get_auto_indent" .ie n .SS "$view\->\fBset_auto_indent\fP ($enable)" .el .SS "\f(CW$view\fP\->\fBset_auto_indent\fP ($enable)" .IX Subsection "$view->set_auto_indent ($enable)" .IP "\(bu" 4 \&\f(CW$enable\fR (boolean) .ie n .SS "drawspacesflags = $view\->\fBget_draw_spaces\fP" .el .SS "drawspacesflags = \f(CW$view\fP\->\fBget_draw_spaces\fP" .IX Subsection "drawspacesflags = $view->get_draw_spaces" .ie n .SS "$view\->\fBset_draw_spaces\fP ($flags)" .el .SS "\f(CW$view\fP\->\fBset_draw_spaces\fP ($flags)" .IX Subsection "$view->set_draw_spaces ($flags)" .IP "\(bu" 4 \&\f(CW$flags\fR (Gtk2::SourceView2::DrawSpacesFlags) .ie n .SS "boolean = $view\->\fBget_highlight_current_line\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_highlight_current_line\fP" .IX Subsection "boolean = $view->get_highlight_current_line" .ie n .SS "$view\->\fBset_highlight_current_line\fP ($show)" .el .SS "\f(CW$view\fP\->\fBset_highlight_current_line\fP ($show)" .IX Subsection "$view->set_highlight_current_line ($show)" .IP "\(bu" 4 \&\f(CW$show\fR (boolean) .ie n .SS "boolean = $view\->\fBget_indent_on_tab\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_indent_on_tab\fP" .IX Subsection "boolean = $view->get_indent_on_tab" .ie n .SS "$view\->\fBset_indent_on_tab\fP ($enable)" .el .SS "\f(CW$view\fP\->\fBset_indent_on_tab\fP ($enable)" .IX Subsection "$view->set_indent_on_tab ($enable)" .IP "\(bu" 4 \&\f(CW$enable\fR (boolean) .ie n .SS "integer = $view\->\fBget_indent_width\fP" .el .SS "integer = \f(CW$view\fP\->\fBget_indent_width\fP" .IX Subsection "integer = $view->get_indent_width" .ie n .SS "$view\->\fBset_indent_width\fP ($width)" .el .SS "\f(CW$view\fP\->\fBset_indent_width\fP ($width)" .IX Subsection "$view->set_indent_width ($width)" .IP "\(bu" 4 \&\f(CW$width\fR (integer) .ie n .SS "boolean = $view\->\fBget_insert_spaces_instead_of_tabs\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_insert_spaces_instead_of_tabs\fP" .IX Subsection "boolean = $view->get_insert_spaces_instead_of_tabs" .ie n .SS "$view\->\fBset_insert_spaces_instead_of_tabs\fP ($enable)" .el .SS "\f(CW$view\fP\->\fBset_insert_spaces_instead_of_tabs\fP ($enable)" .IX Subsection "$view->set_insert_spaces_instead_of_tabs ($enable)" .IP "\(bu" 4 \&\f(CW$enable\fR (boolean) .ie n .SS "color = $view\->\fBget_mark_category_background\fP ($category)" .el .SS "color = \f(CW$view\fP\->\fBget_mark_category_background\fP ($category)" .IX Subsection "color = $view->get_mark_category_background ($category)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .ie n .SS "$view\->\fBset_mark_category_background\fP ($category, $color)" .el .SS "\f(CW$view\fP\->\fBset_mark_category_background\fP ($category, \f(CW$color\fP)" .IX Subsection "$view->set_mark_category_background ($category, $color)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .IP "\(bu" 4 \&\f(CW$color\fR (Gtk2::Gdk::Color or undef) .ie n .SS "pixbuf or undef = $view\->\fBget_mark_category_pixbuf\fP ($category)" .el .SS "pixbuf or undef = \f(CW$view\fP\->\fBget_mark_category_pixbuf\fP ($category)" .IX Subsection "pixbuf or undef = $view->get_mark_category_pixbuf ($category)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .ie n .SS "$view\->\fBset_mark_category_pixbuf\fP ($category, $pixbuf)" .el .SS "\f(CW$view\fP\->\fBset_mark_category_pixbuf\fP ($category, \f(CW$pixbuf\fP)" .IX Subsection "$view->set_mark_category_pixbuf ($category, $pixbuf)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .IP "\(bu" 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf or undef) .ie n .SS "integer = $view\->\fBget_mark_category_priority\fP ($category)" .el .SS "integer = \f(CW$view\fP\->\fBget_mark_category_priority\fP ($category)" .IX Subsection "integer = $view->get_mark_category_priority ($category)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .ie n .SS "$view\->\fBset_mark_category_priority\fP ($category, $priority)" .el .SS "\f(CW$view\fP\->\fBset_mark_category_priority\fP ($category, \f(CW$priority\fP)" .IX Subsection "$view->set_mark_category_priority ($category, $priority)" .IP "\(bu" 4 \&\f(CW$category\fR (string) .IP "\(bu" 4 \&\f(CW$priority\fR (integer) .ie n .SS "integer = $view\->\fBget_right_margin_position\fP" .el .SS "integer = \f(CW$view\fP\->\fBget_right_margin_position\fP" .IX Subsection "integer = $view->get_right_margin_position" .ie n .SS "$view\->\fBset_right_margin_position\fP ($pos)" .el .SS "\f(CW$view\fP\->\fBset_right_margin_position\fP ($pos)" .IX Subsection "$view->set_right_margin_position ($pos)" .IP "\(bu" 4 \&\f(CW$pos\fR (integer) .ie n .SS "boolean = $view\->\fBget_show_line_marks\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_show_line_marks\fP" .IX Subsection "boolean = $view->get_show_line_marks" .ie n .SS "$view\->\fBset_show_line_marks\fP ($show)" .el .SS "\f(CW$view\fP\->\fBset_show_line_marks\fP ($show)" .IX Subsection "$view->set_show_line_marks ($show)" .IP "\(bu" 4 \&\f(CW$show\fR (boolean) .ie n .SS "boolean = $view\->\fBget_show_line_numbers\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_show_line_numbers\fP" .IX Subsection "boolean = $view->get_show_line_numbers" .ie n .SS "$view\->\fBset_show_line_numbers\fP ($show)" .el .SS "\f(CW$view\fP\->\fBset_show_line_numbers\fP ($show)" .IX Subsection "$view->set_show_line_numbers ($show)" .IP "\(bu" 4 \&\f(CW$show\fR (boolean) .ie n .SS "boolean = $view\->\fBget_show_right_margin\fP" .el .SS "boolean = \f(CW$view\fP\->\fBget_show_right_margin\fP" .IX Subsection "boolean = $view->get_show_right_margin" .ie n .SS "$view\->\fBset_show_right_margin\fP ($show)" .el .SS "\f(CW$view\fP\->\fBset_show_right_margin\fP ($show)" .IX Subsection "$view->set_show_right_margin ($show)" .IP "\(bu" 4 \&\f(CW$show\fR (boolean) .ie n .SS "smarthomeendtype = $view\->\fBget_smart_home_end\fP" .el .SS "smarthomeendtype = \f(CW$view\fP\->\fBget_smart_home_end\fP" .IX Subsection "smarthomeendtype = $view->get_smart_home_end" .ie n .SS "$view\->\fBset_smart_home_end\fP ($smart_he)" .el .SS "\f(CW$view\fP\->\fBset_smart_home_end\fP ($smart_he)" .IX Subsection "$view->set_smart_home_end ($smart_he)" .IP "\(bu" 4 \&\f(CW$smart_he\fR (Gtk2::SourceView2::SmartHomeEndType) .ie n .SS "integer = $view\->\fBget_tab_width\fP" .el .SS "integer = \f(CW$view\fP\->\fBget_tab_width\fP" .IX Subsection "integer = $view->get_tab_width" .ie n .SS "$view\->\fBset_tab_width\fP ($width)" .el .SS "\f(CW$view\fP\->\fBset_tab_width\fP ($width)" .IX Subsection "$view->set_tab_width ($width)" .IP "\(bu" 4 \&\f(CW$width\fR (integer) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'auto\-indent' (boolean : default false : readable / writable)" 4 .IX Item "'auto-indent' (boolean : default false : readable / writable)" Whether to enable auto indentation .IP "'completion' (Glib::Object::_Unregistered::GtkSourceCompletion : default undef : readable)" 4 .IX Item "'completion' (Glib::Object::_Unregistered::GtkSourceCompletion : default undef : readable)" The completion object associated with the view .IP "'draw\-spaces' (Gtk2::SourceView2::DrawSpacesFlags : default : readable / writable)" 4 .IX Item "'draw-spaces' (Gtk2::SourceView2::DrawSpacesFlags : default : readable / writable)" Set if and how the spaces should be visualized .IP "'highlight\-current\-line' (boolean : default false : readable / writable)" 4 .IX Item "'highlight-current-line' (boolean : default false : readable / writable)" Whether to highlight the current line .IP "'indent\-on\-tab' (boolean : default true : readable / writable)" 4 .IX Item "'indent-on-tab' (boolean : default true : readable / writable)" Whether to indent the selected text when the tab key is pressed .IP "'indent\-width' (integer : default \-1 : readable / writable)" 4 .IX Item "'indent-width' (integer : default -1 : readable / writable)" Number of spaces to use for each step of indent .IP "'insert\-spaces\-instead\-of\-tabs' (boolean : default false : readable / writable)" 4 .IX Item "'insert-spaces-instead-of-tabs' (boolean : default false : readable / writable)" Whether to insert spaces instead of tabs .IP "'right\-margin\-position' (Glib::UInt : default 80 : readable / writable)" 4 .IX Item "'right-margin-position' (Glib::UInt : default 80 : readable / writable)" Position of the right margin .IP "'show\-line\-marks' (boolean : default false : readable / writable)" 4 .IX Item "'show-line-marks' (boolean : default false : readable / writable)" Whether to display line mark pixbufs .IP "'show\-line\-numbers' (boolean : default false : readable / writable)" 4 .IX Item "'show-line-numbers' (boolean : default false : readable / writable)" Whether to display line numbers .IP "'show\-right\-margin' (boolean : default false : readable / writable)" 4 .IX Item "'show-right-margin' (boolean : default false : readable / writable)" Whether to display the right margin .ie n .IP "'smart\-home\-end' (Gtk2::SourceView2::SmartHomeEndType : default ""disabled"" : readable / writable)" 4 .el .IP "'smart\-home\-end' (Gtk2::SourceView2::SmartHomeEndType : default ``disabled'' : readable / writable)" 4 .IX Item "'smart-home-end' (Gtk2::SourceView2::SmartHomeEndType : default disabled : readable / writable)" \&\s-1HOME\s0 and \s-1END\s0 keys move to first/last non whitespace characters on line before going to the start/end of the line .IP "'tab\-width' (Glib::UInt : default 8 : readable / writable)" 4 .IX Item "'tab-width' (Glib::UInt : default 8 : readable / writable)" Width of a tab character expressed in spaces .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBundo\fR (Gtk2::SourceView2::View)" 4 .IX Item "undo (Gtk2::SourceView2::View)" .PD 0 .IP "\fBredo\fR (Gtk2::SourceView2::View)" 4 .IX Item "redo (Gtk2::SourceView2::View)" .IP "\fBshow-completion\fR (Gtk2::SourceView2::View)" 4 .IX Item "show-completion (Gtk2::SourceView2::View)" .IP "\fBline-mark-activated\fR (Gtk2::SourceView2::View, Gtk2::TextIter, Gtk2::Gdk::Event)" 4 .IX Item "line-mark-activated (Gtk2::SourceView2::View, Gtk2::TextIter, Gtk2::Gdk::Event)" .IP "\fBmove-lines\fR (Gtk2::SourceView2::View, boolean, integer)" 4 .IX Item "move-lines (Gtk2::SourceView2::View, boolean, integer)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "flags Gtk2::SourceView2::DrawSpacesFlags" .IX Subsection "flags Gtk2::SourceView2::DrawSpacesFlags" .IP "\(bu" 4 \&'space' / '\s-1GTK_SOURCE_DRAW_SPACES_SPACE\s0' .IP "\(bu" 4 \&'tab' / '\s-1GTK_SOURCE_DRAW_SPACES_TAB\s0' .IP "\(bu" 4 \&'newline' / '\s-1GTK_SOURCE_DRAW_SPACES_NEWLINE\s0' .IP "\(bu" 4 \&'nbsp' / '\s-1GTK_SOURCE_DRAW_SPACES_NBSP\s0' .IP "\(bu" 4 \&'leading' / '\s-1GTK_SOURCE_DRAW_SPACES_LEADING\s0' .IP "\(bu" 4 \&'text' / '\s-1GTK_SOURCE_DRAW_SPACES_TEXT\s0' .IP "\(bu" 4 \&'trailing' / '\s-1GTK_SOURCE_DRAW_SPACES_TRAILING\s0' .IP "\(bu" 4 \&'all' / '\s-1GTK_SOURCE_DRAW_SPACES_ALL\s0' .SS "enum Gtk2::SourceView2::SmartHomeEndType" .IX Subsection "enum Gtk2::SourceView2::SmartHomeEndType" .IP "\(bu" 4 \&'disabled' / '\s-1GTK_SOURCE_SMART_HOME_END_DISABLED\s0' .IP "\(bu" 4 \&'before' / '\s-1GTK_SOURCE_SMART_HOME_END_BEFORE\s0' .IP "\(bu" 4 \&'after' / '\s-1GTK_SOURCE_SMART_HOME_END_AFTER\s0' .IP "\(bu" 4 \&'always' / '\s-1GTK_SOURCE_SMART_HOME_END_ALWAYS\s0' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2::SourceView2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::TextView .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2009 by Emmanuel Rodriguez