Gtk2::PageSetup

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::PageSetup  

HIERARCHY

  Glib::Object
  +----Gtk2::PageSetup

 

METHODS

 

pagesetup = Gtk2::PageSetup->new

 

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)
 

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)
 

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-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.


 

Index

NAME
HIERARCHY
METHODS
pagesetup = Gtk2::PageSetup->new
double = $setup->get_bottom_margin ($unit)
$setup->set_bottom_margin ($margin, $unit)
double = $setup->get_left_margin ($unit)
$setup->set_left_margin ($margin, $unit)
pageorientation = $setup->get_orientation
$setup->set_orientation ($orientation)
double = $setup->get_page_height ($unit)
double = $setup->get_page_width ($unit)
double = $setup->get_paper_height ($unit)
$setup->set_paper_size_and_default_margins ($size)
papersize = $setup->get_paper_size
$setup->set_paper_size ($size)
double = $setup->get_paper_width ($unit)
double = $setup->get_right_margin ($unit)
$setup->set_right_margin ($margin, $unit)
double = $setup->get_top_margin ($unit)
$setup->set_top_margin ($margin, $unit)
ENUMS AND FLAGS
enum Gtk2::PageOrientation
enum Gtk2::Unit
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages