Gtk2::PageSetup(3pm)

Gtk2::PageSetup3pm

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'

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 9
  5. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.