.\" 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::PageSetup 3pm" .TH Gtk2::PageSetup 3pm "2019-09-16" "perl v5.28.1" "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::PageSetup \- wrapper for GtkPageSetup .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::PageSetup .Ve .SH "METHODS" .IX Header "METHODS" .SS "pagesetup = Gtk2::PageSetup\->\fBnew\fP" .IX Subsection "pagesetup = Gtk2::PageSetup->new" .SS "pagesetup = Gtk2::PageSetup\->\fBnew_from_file\fP ($file_name)" .IX Subsection "pagesetup = Gtk2::PageSetup->new_from_file ($file_name)" .IP "\(bu" 4 \&\f(CW$file_name\fR (localized file name) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.12 .ie n .SS "pagesetup = Gtk2::PageSetup\->\fBnew_from_key_file\fP ($key_file, $group_name)" .el .SS "pagesetup = Gtk2::PageSetup\->\fBnew_from_key_file\fP ($key_file, \f(CW$group_name\fP)" .IX Subsection "pagesetup = Gtk2::PageSetup->new_from_key_file ($key_file, $group_name)" .IP "\(bu" 4 \&\f(CW$key_file\fR (Glib::KeyFile) .IP "\(bu" 4 \&\f(CW$group_name\fR (string or undef) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.12 .ie n .SS "double = $setup\->\fBget_bottom_margin\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_bottom_margin\fP ($unit)" .IX Subsection "double = $setup->get_bottom_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$setup\->\fBset_bottom_margin\fP ($margin, $unit)" .el .SS "\f(CW$setup\fP\->\fBset_bottom_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$setup->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 "double = $setup\->\fBget_left_margin\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_left_margin\fP ($unit)" .IX Subsection "double = $setup->get_left_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$setup\->\fBset_left_margin\fP ($margin, $unit)" .el .SS "\f(CW$setup\fP\->\fBset_left_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$setup->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 "$setup\->\fBload_file\fP ($file_name)" .el .SS "\f(CW$setup\fP\->\fBload_file\fP ($file_name)" .IX Subsection "$setup->load_file ($file_name)" .IP "\(bu" 4 \&\f(CW$file_name\fR (string) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.14 .ie n .SS "$setup\->\fBload_key_file\fP ($key_file, $group_name)" .el .SS "\f(CW$setup\fP\->\fBload_key_file\fP ($key_file, \f(CW$group_name\fP)" .IX Subsection "$setup->load_key_file ($key_file, $group_name)" .IP "\(bu" 4 \&\f(CW$key_file\fR (Glib::KeyFile) .IP "\(bu" 4 \&\f(CW$group_name\fR (string or undef) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.14 .ie n .SS "pageorientation = $setup\->\fBget_orientation\fP" .el .SS "pageorientation = \f(CW$setup\fP\->\fBget_orientation\fP" .IX Subsection "pageorientation = $setup->get_orientation" .ie n .SS "$setup\->\fBset_orientation\fP ($orientation)" .el .SS "\f(CW$setup\fP\->\fBset_orientation\fP ($orientation)" .IX Subsection "$setup->set_orientation ($orientation)" .IP "\(bu" 4 \&\f(CW$orientation\fR (Gtk2::PageOrientation) .ie n .SS "double = $setup\->\fBget_page_height\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_page_height\fP ($unit)" .IX Subsection "double = $setup->get_page_height ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "double = $setup\->\fBget_page_width\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_page_width\fP ($unit)" .IX Subsection "double = $setup->get_page_width ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "double = $setup\->\fBget_paper_height\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_paper_height\fP ($unit)" .IX Subsection "double = $setup->get_paper_height ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$setup\->\fBset_paper_size_and_default_margins\fP ($size)" .el .SS "\f(CW$setup\fP\->\fBset_paper_size_and_default_margins\fP ($size)" .IX Subsection "$setup->set_paper_size_and_default_margins ($size)" .IP "\(bu" 4 \&\f(CW$size\fR (Gtk2::PaperSize) .ie n .SS "papersize = $setup\->\fBget_paper_size\fP" .el .SS "papersize = \f(CW$setup\fP\->\fBget_paper_size\fP" .IX Subsection "papersize = $setup->get_paper_size" .ie n .SS "$setup\->\fBset_paper_size\fP ($size)" .el .SS "\f(CW$setup\fP\->\fBset_paper_size\fP ($size)" .IX Subsection "$setup->set_paper_size ($size)" .IP "\(bu" 4 \&\f(CW$size\fR (Gtk2::PaperSize) .ie n .SS "double = $setup\->\fBget_paper_width\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_paper_width\fP ($unit)" .IX Subsection "double = $setup->get_paper_width ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "double = $setup\->\fBget_right_margin\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_right_margin\fP ($unit)" .IX Subsection "double = $setup->get_right_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$setup\->\fBset_right_margin\fP ($margin, $unit)" .el .SS "\f(CW$setup\fP\->\fBset_right_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$setup->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 "$setup\->\fBto_file\fP ($file_name)" .el .SS "\f(CW$setup\fP\->\fBto_file\fP ($file_name)" .IX Subsection "$setup->to_file ($file_name)" .IP "\(bu" 4 \&\f(CW$file_name\fR (localized file name) .PP May croak with a Glib::Error in $@ on failure. .PP Since: gtk+ 2.12 .ie n .SS "$setup\->\fBto_key_file\fP ($key_file, $group_name)" .el .SS "\f(CW$setup\fP\->\fBto_key_file\fP ($key_file, \f(CW$group_name\fP)" .IX Subsection "$setup->to_key_file ($key_file, $group_name)" .IP "\(bu" 4 \&\f(CW$key_file\fR (Glib::KeyFile) .IP "\(bu" 4 \&\f(CW$group_name\fR (string or undef) .PP Since: gtk+ 2.12 .ie n .SS "double = $setup\->\fBget_top_margin\fP ($unit)" .el .SS "double = \f(CW$setup\fP\->\fBget_top_margin\fP ($unit)" .IX Subsection "double = $setup->get_top_margin ($unit)" .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .ie n .SS "$setup\->\fBset_top_margin\fP ($margin, $unit)" .el .SS "\f(CW$setup\fP\->\fBset_top_margin\fP ($margin, \f(CW$unit\fP)" .IX Subsection "$setup->set_top_margin ($margin, $unit)" .IP "\(bu" 4 \&\f(CW$margin\fR (double) .IP "\(bu" 4 \&\f(CW$unit\fR (Gtk2::Unit) .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::PageOrientation" .IX Subsection "enum Gtk2::PageOrientation" .IP "\(bu" 4 \&'portrait' / '\s-1GTK_PAGE_ORIENTATION_PORTRAIT\s0' .IP "\(bu" 4 \&'landscape' / '\s-1GTK_PAGE_ORIENTATION_LANDSCAPE\s0' .IP "\(bu" 4 \&'reverse\-portrait' / '\s-1GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT\s0' .IP "\(bu" 4 \&'reverse\-landscape' / '\s-1GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE\s0' .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' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object .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.