.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 >0, 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 .\" ======================================================================== .\" .IX Title "Gtk2::SourceView2::PrintCompositor 3pm" .TH Gtk2::SourceView2::PrintCompositor 3pm "2018-11-02" "perl v5.28.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::PrintCompositor .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::SourceView2::PrintCompositor .Ve .SH "METHODS" .IX Header "METHODS" .SS "printcompositor = Gtk2::SourceView2::PrintCompositor\->\fBnew\fP ($buffer)" .IX Subsection "printcompositor = Gtk2::SourceView2::PrintCompositor->new ($buffer)" .IP "\(bu" 4 \&\f(CW$buffer\fR (Gtk2::SourceView2::Buffer) .SS "printcompositor = Gtk2::SourceView2::PrintCompositor\->\fBnew_from_view\fP ($view)" .IX Subsection "printcompositor = Gtk2::SourceView2::PrintCompositor->new_from_view ($view)" .IP "\(bu" 4 \&\f(CW$view\fR (Gtk2::SourceView2::View) .ie n .SS "string = $compositor\->\fBget_body_font_name\fP" .el .SS "string = \f(CW$compositor\fP\->\fBget_body_font_name\fP" .IX Subsection "string = $compositor->get_body_font_name" .ie n .SS "$compositor\->\fBset_body_font_name\fP ($font_name)" .el .SS "\f(CW$compositor\fP\->\fBset_body_font_name\fP ($font_name)" .IX Subsection "$compositor->set_body_font_name ($font_name)" .IP "\(bu" 4 \&\f(CW$font_name\fR (string) .ie n .SS "double = $compositor\->\fBget_bottom_margin\fP ($unit)" .el .SS "double = \f(CW$compositor\fP\->\fBget_bottom_margin\fP ($unit)" .IX Subsection "double = $compositor->get_bottom_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$compositor\->\fBset_bottom_margin\fP ($margin, $unit)" .el .SS "\f(CW$compositor\fP\->\fBset_bottom_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$compositor->set_bottom_margin ($margin, $unit)" .IP "\(bu" 4 \&\f(CW$margin\fR (double) .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "buffer = $compositor\->\fBget_buffer\fP" .el .SS "buffer = \f(CW$compositor\fP\->\fBget_buffer\fP" .IX Subsection "buffer = $compositor->get_buffer" .ie n .SS "$compositor\->\fBdraw_page\fP ($context, $page_nr)" .el .SS "\f(CW$compositor\fP\->\fBdraw_page\fP ($context, \f(CW$page_nr\fP)" .IX Subsection "$compositor->draw_page ($context, $page_nr)" .IP "\(bu" 4 \&\f(CW$context\fR (Gtk2::PrintContext) .IP "\(bu" 4 \&\f(CW$page_nr\fR (integer) .ie n .SS "string = $compositor\->\fBget_footer_font_name\fP" .el .SS "string = \f(CW$compositor\fP\->\fBget_footer_font_name\fP" .IX Subsection "string = $compositor->get_footer_font_name" .ie n .SS "$compositor\->\fBset_footer_font_name\fP ($font_name)" .el .SS "\f(CW$compositor\fP\->\fBset_footer_font_name\fP ($font_name)" .IX Subsection "$compositor->set_footer_font_name ($font_name)" .IP "\(bu" 4 \&\f(CW$font_name\fR (string or undef) .ie n .SS "$compositor\->\fBset_footer_format\fP ($separator, $left, $center, $right)" .el .SS "\f(CW$compositor\fP\->\fBset_footer_format\fP ($separator, \f(CW$left\fP, \f(CW$center\fP, \f(CW$right\fP)" .IX Subsection "$compositor->set_footer_format ($separator, $left, $center, $right)" .IP "\(bu" 4 \&\f(CW$separator\fR (boolean) .IP "\(bu" 4 \&\f(CW$left\fR (string or undef) .IP "\(bu" 4 \&\f(CW$center\fR (string or undef) .IP "\(bu" 4 \&\f(CW$right\fR (string or undef) .ie n .SS "string = $compositor\->\fBget_header_font_name\fP" .el .SS "string = \f(CW$compositor\fP\->\fBget_header_font_name\fP" .IX Subsection "string = $compositor->get_header_font_name" .ie n .SS "$compositor\->\fBset_header_font_name\fP ($font_name)" .el .SS "\f(CW$compositor\fP\->\fBset_header_font_name\fP ($font_name)" .IX Subsection "$compositor->set_header_font_name ($font_name)" .IP "\(bu" 4 \&\f(CW$font_name\fR (string or undef) .ie n .SS "$compositor\->\fBset_header_format\fP ($separator, $left, $center, $right)" .el .SS "\f(CW$compositor\fP\->\fBset_header_format\fP ($separator, \f(CW$left\fP, \f(CW$center\fP, \f(CW$right\fP)" .IX Subsection "$compositor->set_header_format ($separator, $left, $center, $right)" .IP "\(bu" 4 \&\f(CW$separator\fR (boolean) .IP "\(bu" 4 \&\f(CW$left\fR (string or undef) .IP "\(bu" 4 \&\f(CW$center\fR (string or undef) .IP "\(bu" 4 \&\f(CW$right\fR (string or undef) .ie n .SS "boolean = $compositor\->\fBget_highlight_syntax\fP" .el .SS "boolean = \f(CW$compositor\fP\->\fBget_highlight_syntax\fP" .IX Subsection "boolean = $compositor->get_highlight_syntax" .ie n .SS "$compositor\->\fBset_highlight_syntax\fP ($highlight)" .el .SS "\f(CW$compositor\fP\->\fBset_highlight_syntax\fP ($highlight)" .IX Subsection "$compositor->set_highlight_syntax ($highlight)" .IP "\(bu" 4 \&\f(CW$highlight\fR (boolean) .ie n .SS "double = $compositor\->\fBget_left_margin\fP ($unit)" .el .SS "double = \f(CW$compositor\fP\->\fBget_left_margin\fP ($unit)" .IX Subsection "double = $compositor->get_left_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$compositor\->\fBset_left_margin\fP ($margin, $unit)" .el .SS "\f(CW$compositor\fP\->\fBset_left_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$compositor->set_left_margin ($margin, $unit)" .IP "\(bu" 4 \&\f(CW$margin\fR (double) .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "string = $compositor\->\fBget_line_numbers_font_name\fP" .el .SS "string = \f(CW$compositor\fP\->\fBget_line_numbers_font_name\fP" .IX Subsection "string = $compositor->get_line_numbers_font_name" .ie n .SS "$compositor\->\fBset_line_numbers_font_name\fP ($font_name)" .el .SS "\f(CW$compositor\fP\->\fBset_line_numbers_font_name\fP ($font_name)" .IX Subsection "$compositor->set_line_numbers_font_name ($font_name)" .IP "\(bu" 4 \&\f(CW$font_name\fR (string or undef) .ie n .SS "integer = $compositor\->\fBget_n_pages\fP" .el .SS "integer = \f(CW$compositor\fP\->\fBget_n_pages\fP" .IX Subsection "integer = $compositor->get_n_pages" .ie n .SS "boolean = $compositor\->\fBpaginate\fP ($context)" .el .SS "boolean = \f(CW$compositor\fP\->\fBpaginate\fP ($context)" .IX Subsection "boolean = $compositor->paginate ($context)" .IP "\(bu" 4 \&\f(CW$context\fR (Gtk2::PrintContext) .ie n .SS "double = $compositor\->\fBget_pagination_progress\fP" .el .SS "double = \f(CW$compositor\fP\->\fBget_pagination_progress\fP" .IX Subsection "double = $compositor->get_pagination_progress" .ie n .SS "boolean = $compositor\->\fBget_print_footer\fP" .el .SS "boolean = \f(CW$compositor\fP\->\fBget_print_footer\fP" .IX Subsection "boolean = $compositor->get_print_footer" .ie n .SS "$compositor\->\fBset_print_footer\fP ($print)" .el .SS "\f(CW$compositor\fP\->\fBset_print_footer\fP ($print)" .IX Subsection "$compositor->set_print_footer ($print)" .IP "\(bu" 4 \&\f(CW$print\fR (boolean) .ie n .SS "boolean = $compositor\->\fBget_print_header\fP" .el .SS "boolean = \f(CW$compositor\fP\->\fBget_print_header\fP" .IX Subsection "boolean = $compositor->get_print_header" .ie n .SS "$compositor\->\fBset_print_header\fP ($print)" .el .SS "\f(CW$compositor\fP\->\fBset_print_header\fP ($print)" .IX Subsection "$compositor->set_print_header ($print)" .IP "\(bu" 4 \&\f(CW$print\fR (boolean) .ie n .SS "integer = $compositor\->\fBget_print_line_numbers\fP" .el .SS "integer = \f(CW$compositor\fP\->\fBget_print_line_numbers\fP" .IX Subsection "integer = $compositor->get_print_line_numbers" .ie n .SS "$compositor\->\fBset_print_line_numbers\fP ($interval)" .el .SS "\f(CW$compositor\fP\->\fBset_print_line_numbers\fP ($interval)" .IX Subsection "$compositor->set_print_line_numbers ($interval)" .IP "\(bu" 4 \&\f(CW$interval\fR (integer) .ie n .SS "double = $compositor\->\fBget_right_margin\fP ($unit)" .el .SS "double = \f(CW$compositor\fP\->\fBget_right_margin\fP ($unit)" .IX Subsection "double = $compositor->get_right_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$compositor\->\fBset_right_margin\fP ($margin, $unit)" .el .SS "\f(CW$compositor\fP\->\fBset_right_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$compositor->set_right_margin ($margin, $unit)" .IP "\(bu" 4 \&\f(CW$margin\fR (double) .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "integer = $compositor\->\fBget_tab_width\fP" .el .SS "integer = \f(CW$compositor\fP\->\fBget_tab_width\fP" .IX Subsection "integer = $compositor->get_tab_width" .ie n .SS "$compositor\->\fBset_tab_width\fP ($width)" .el .SS "\f(CW$compositor\fP\->\fBset_tab_width\fP ($width)" .IX Subsection "$compositor->set_tab_width ($width)" .IP "\(bu" 4 \&\f(CW$width\fR (integer) .ie n .SS "double = $compositor\->\fBget_top_margin\fP ($unit)" .el .SS "double = \f(CW$compositor\fP\->\fBget_top_margin\fP ($unit)" .IX Subsection "double = $compositor->get_top_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$compositor\->\fBset_top_margin\fP ($margin, $unit)" .el .SS "\f(CW$compositor\fP\->\fBset_top_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$compositor->set_top_margin ($margin, $unit)" .IP "\(bu" 4 \&\f(CW$margin\fR (double) .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "wrapmode = $compositor\->\fBget_wrap_mode\fP" .el .SS "wrapmode = \f(CW$compositor\fP\->\fBget_wrap_mode\fP" .IX Subsection "wrapmode = $compositor->get_wrap_mode" .ie n .SS "$compositor\->\fBset_wrap_mode\fP ($wrap_mode)" .el .SS "\f(CW$compositor\fP\->\fBset_wrap_mode\fP ($wrap_mode)" .IX Subsection "$compositor->set_wrap_mode ($wrap_mode)" .IP "\(bu" 4 \&\f(CW$wrap_mode\fR (Gtk2::WrapMode) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'body\-font\-name' (string : default undef : readable / writable)" 4 .IX Item "'body-font-name' (string : default undef : readable / writable)" Name of the font to use for the text body (e.g. \*(L"Monospace 10\*(R") .IP "'buffer' (Gtk2::SourceView2::Buffer : default undef : readable / writable / construct-only)" 4 .IX Item "'buffer' (Gtk2::SourceView2::Buffer : default undef : readable / writable / construct-only)" The GtkSourceBuffer object to print .IP "'footer\-font\-name' (string : default undef : readable / writable)" 4 .IX Item "'footer-font-name' (string : default undef : readable / writable)" Name of the font to use for the page footer (e.g. \*(L"Monospace 10\*(R") .IP "'header\-font\-name' (string : default undef : readable / writable)" 4 .IX Item "'header-font-name' (string : default undef : readable / writable)" Name of the font to use for the page header (e.g. \*(L"Monospace 10\*(R") .IP "'highlight\-syntax' (boolean : default true : readable / writable)" 4 .IX Item "'highlight-syntax' (boolean : default true : readable / writable)" Whether to print the document with highlighted syntax .IP "'line\-numbers\-font\-name' (string : default undef : readable / writable)" 4 .IX Item "'line-numbers-font-name' (string : default undef : readable / writable)" Name of the font to use for the line numbers (e.g. \*(L"Monospace 10\*(R") .IP "'n\-pages' (integer : default \-1 : readable)" 4 .IX Item "'n-pages' (integer : default -1 : readable)" The number of pages in the document (\-1 means the document has not been completely paginated). .IP "'print\-footer' (boolean : default false : readable / writable)" 4 .IX Item "'print-footer' (boolean : default false : readable / writable)" Whether to print a footer in each page .IP "'print\-header' (boolean : default false : readable / writable)" 4 .IX Item "'print-header' (boolean : default false : readable / writable)" Whether to print a header in each page .IP "'print\-line\-numbers' (Glib::UInt : default 1 : readable / writable)" 4 .IX Item "'print-line-numbers' (Glib::UInt : default 1 : readable / writable)" Interval of printed line numbers (0 means no numbers) .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 .ie n .IP "'wrap\-mode' (Gtk2::WrapMode : default ""none"" : readable / writable)" 4 .el .IP "'wrap\-mode' (Gtk2::WrapMode : default ``none'' : readable / writable)" 4 .IX Item "'wrap-mode' (Gtk2::WrapMode : default none : readable / writable)" Whether to wrap lines never, at word boundaries, or at character boundaries. .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::Unit" .IX Subsection "enum Gtk2::Unit" .IP "\(bu" 4 \&'pixel' / '\s-1GTK_UNIT_PIXEL\s0' .IP "\(bu" 4 \&'points' / '\s-1GTK_UNIT_POINTS\s0' .IP "\(bu" 4 \&'inch' / '\s-1GTK_UNIT_INCH\s0' .IP "\(bu" 4 \&'mm' / '\s-1GTK_UNIT_MM\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' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2::SourceView2, Glib::Object .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2009 by Emmanuel Rodriguez