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

Gnome2::Print::Unit



NAME

Gnome2::Print::Unit

HIERARCHY

  Glib::Boxed
  +----Gnome2::Print::Unit

METHODS

scalar = $unit->abbr

scalar = $unit->abbr_plural

scalar = $unit->base

unit = Gnome2::Print::Unit->get_by_abbreviation ($abbreviation)

unit = Gnome2::Print::Unit->get_by_name ($name)

$distance = $from->convert_distance($to)

This function returns a double on success or undef on failure.

$distance = $from->convert_distance_full($to, $ctmscale, $devicescale)

This function returns a double on success or undef on failure.

unit = Gnome2::Print::Unit->get_default

unit = Gnome2::Print::Unit->get_identity ($base)

list = $bases->get_list

This function returns a list of Gnome2::Print::Unit.

scalar = $unit->name

scalar = $unit->plural

scalar = $unit->unittobase

scalar = $unit->version

SEE ALSO

Gnome2::Print, Glib::Boxed

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:59:00 2009