Next:
Gnome2::Print::PaperSelector
Previous:
Gnome2::Print::main
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gnome2::Print::Paper



NAME

Gnome2::Print::Paper

DESCRIPTION

GnomePrintPaper is a boxed type representing a registered paper type.

In Perl, it is an hashref containing these keys:

version
Has to be 0 at moment.
name
Name such as 'A4'.
width
height
Dimensional attributes.

METHODS

paper hash = Gnome2::Print::Paper->get_by_name ($name)

paper hash = Gnome2::Print::Paper->get_by_size ($width, $height)

paper hash = Gnome2::Print::Paper->get_closest_by_size ($width, $height, $mustfit)

paper hash = Gnome2::Print::Paper->get_default

list = Gnome2::Print::Paper->get_list

This method returns an array containing all the registered paper types.

SEE ALSO

Gnome2::Print

COPYRIGHT

Copyright (C) 2003-2004 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Print for a full notice.


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 22:58:59 2009