.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" 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 .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . 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 3" .TH Gtk2::PageSetup 3 2024-09-01 "perl v5.40.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::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' / 'GTK_PAGE_ORIENTATION_PORTRAIT' .IP \(bu 4 \&'landscape' / 'GTK_PAGE_ORIENTATION_LANDSCAPE' .IP \(bu 4 \&'reverse\-portrait' / 'GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT' .IP \(bu 4 \&'reverse\-landscape' / 'GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE' .SS "enum Gtk2::Unit" .IX Subsection "enum Gtk2::Unit" .IP \(bu 4 \&'pixel' / 'GTK_UNIT_PIXEL' .IP \(bu 4 \&'points' / 'GTK_UNIT_POINTS' .IP \(bu 4 \&'inch' / 'GTK_UNIT_INCH' .IP \(bu 4 \&'mm' / 'GTK_UNIT_MM' .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 LGPL. See Gtk2 for a full notice.