Gtk2::PageSetup man page on Fedora
Printed from http://www.polarhome.com/service/man/?qf=Gtk2%3A%3APageSetup&af=0&tf=2&of=Fedora
Gtk2::PageSetup(3) User Contributed Perl Documentation Gtk2::PageSetup(3)
NAME
Gtk2::PageSetup
HIERARCHY
Glib::Object
+----Gtk2::PageSetup
METHODS
pagesetup = Gtk2::PageSetup->new
pagesetup = Gtk2::PageSetup->new_from_file ($file_name)
· $file_name (localized file name)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
pagesetup = Gtk2::PageSetup->new_from_key_file ($key_file, $group_name)
· $key_file (Glib::KeyFile)
· $group_name (string or undef)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
double = $setup->get_bottom_margin ($unit)
· $unit (Gtk2::Unit)
$setup->set_bottom_margin ($margin, $unit)
· $margin (double)
· $unit (Gtk2::Unit)
double = $setup->get_left_margin ($unit)
· $unit (Gtk2::Unit)
$setup->set_left_margin ($margin, $unit)
· $margin (double)
· $unit (Gtk2::Unit)
$setup->load_file ($file_name)
· $file_name (string)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14
$setup->load_key_file ($key_file, $group_name)
· $key_file (Glib::KeyFile)
· $group_name (string or undef)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.14
pageorientation = $setup->get_orientation
$setup->set_orientation ($orientation)
· $orientation (Gtk2::PageOrientation)
double = $setup->get_page_height ($unit)
· $unit (Gtk2::Unit)
double = $setup->get_page_width ($unit)
· $unit (Gtk2::Unit)
double = $setup->get_paper_height ($unit)
· $unit (Gtk2::Unit)
$setup->set_paper_size_and_default_margins ($size)
· $size (Gtk2::PaperSize)
papersize = $setup->get_paper_size
$setup->set_paper_size ($size)
· $size (Gtk2::PaperSize)
double = $setup->get_paper_width ($unit)
· $unit (Gtk2::Unit)
double = $setup->get_right_margin ($unit)
· $unit (Gtk2::Unit)
$setup->set_right_margin ($margin, $unit)
· $margin (double)
· $unit (Gtk2::Unit)
$setup->to_file ($file_name)
· $file_name (localized file name)
May croak with a Glib::Error in $@ on failure.
Since: gtk+ 2.12
$setup->to_key_file ($key_file, $group_name)
· $key_file (Glib::KeyFile)
· $group_name (string or undef)
Since: gtk+ 2.12
double = $setup->get_top_margin ($unit)
· $unit (Gtk2::Unit)
$setup->set_top_margin ($margin, $unit)
· $margin (double)
· $unit (Gtk2::Unit)
ENUMS AND FLAGS
enum Gtk2::PageOrientation
· 'portrait' / 'GTK_PAGE_ORIENTATION_PORTRAIT'
· 'landscape' / 'GTK_PAGE_ORIENTATION_LANDSCAPE'
· 'reverse-portrait' / 'GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT'
· 'reverse-landscape' / 'GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE'
enum Gtk2::Unit
· 'pixel' / 'GTK_UNIT_PIXEL'
· 'points' / 'GTK_UNIT_POINTS'
· 'inch' / 'GTK_UNIT_INCH'
· 'mm' / 'GTK_UNIT_MM'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.1 2011-08-30 Gtk2::PageSetup(3)
[top]
List of man pages available for Fedora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|