Next:
Gtk2::Plug
Previous:
Gtk2::Pango::version
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::PaperSize



NAME

Gtk2::PaperSize

HIERARCHY

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

METHODS

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

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

papersize = Gtk2::PaperSize->new_from_key_file ($key_file, $group_name)

May croak with a Glib::Error in $@ on failure.

Since: gtk+ 2.12

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

list = Gtk2::PaperSize::get_paper_sizes ($include_custom)

Since: gtk+ 2.12

string or undef = $size->get_ppd_name

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

$size->to_key_file ($key_file, $group_name)

Since: gtk+ 2.12

double = $size->get_width ($unit)

ENUMS AND FLAGS

enum Gtk2::Unit

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.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:03:13 2009