Provided by: libgtk2-perl-doc_1.24992-1build2_all bug

NAME

       Gtk2::PageSetup - wrapper for GtkPageSetup

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.