Gtk2::PaperSize

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

NAME

Gtk2::PaperSize  

HIERARCHY

  Glib::Boxed
  +----Gtk2::PaperSize

 

METHODS

 

papersize = Gtk2::PaperSize->new ($name)

* $name (string or undef)
 

papersize = Gtk2::PaperSize->new_custom ($name, $display_name, $width, $height, $unit)

* $name (string)
* $display_name (string)
* $width (double)
* $height (double)
* $unit (Gtk2::Unit)
 

papersize = Gtk2::PaperSize->new_from_ppd ($ppd_name, $ppd_display_name, $width, $height)

* $ppd_name (string)
* $ppd_display_name (string)
* $width (double)
* $height (double)
 

double = $size->get_default_bottom_margin ($unit)

* $unit (Gtk2::Unit)
 

string = Gtk2::PaperSize->get_default

 

double = $size->get_default_left_margin ($unit)

* $unit (Gtk2::Unit)
 

double = $size->get_default_right_margin ($unit)

* $unit (Gtk2::Unit)
 

double = $size->get_default_top_margin ($unit)

* $unit (Gtk2::Unit)
 

string = $size->get_display_name

 

double = $size->get_height ($unit)

* $unit (Gtk2::Unit)
 

boolean = $size->is_custom

 

boolean = $size1->is_equal ($size2)

* $size2 (Gtk2::PaperSize)
 

string = $size->get_name

 

string or undef = $size->get_ppd_name

 

$size->set_size ($width, $height, $unit)

* $width (double)
* $height (double)
* $unit (Gtk2::Unit)
 

double = $size->get_width ($unit)

* $unit (Gtk2::Unit)
 

ENUMS AND FLAGS

 

enum Gtk2::Unit

* 'pixel' / 'GTK_UNIT_PIXEL'
* 'points' / 'GTK_UNIT_POINTS'
* 'inch' / 'GTK_UNIT_INCH'
* 'mm' / 'GTK_UNIT_MM'
 

SEE ALSO

Gtk2, Glib::Boxed  

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
papersize = Gtk2::PaperSize->new ($name)
papersize = Gtk2::PaperSize->new_custom ($name, $display_name, $width, $height, $unit)
papersize = Gtk2::PaperSize->new_from_ppd ($ppd_name, $ppd_display_name, $width, $height)
double = $size->get_default_bottom_margin ($unit)
string = Gtk2::PaperSize->get_default
double = $size->get_default_left_margin ($unit)
double = $size->get_default_right_margin ($unit)
double = $size->get_default_top_margin ($unit)
string = $size->get_display_name
double = $size->get_height ($unit)
boolean = $size->is_custom
boolean = $size1->is_equal ($size2)
string = $size->get_name
string or undef = $size->get_ppd_name
$size->set_size ($width, $height, $unit)
double = $size->get_width ($unit)
ENUMS AND FLAGS
enum Gtk2::Unit
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages