Gtk2::RecentInfo(3) User Contributed Perl Documentation Gtk2::RecentInfo(3)NAME
Gtk2::RecentInfo
HIERARCHY
Glib::Boxed
+----Gtk2::RecentInfo
METHODS
timestamp = $info->get_added;
timestamp = $info->get_modified;
timestamp = $info->get_visited;
cut
integer = $info->get_age
(exec, count, timestamp) = $info->get_application_info ($app_name)
o $app_name (string)
(applications) = $info->get_applications
string = $info->get_description
string = $info->get_display_name
boolean = $info->exists
(groups) = $info->get_groups
boolean = $info->has_application ($app_name)
o $app_name (string)
boolean = $info->has_group ($group_name)
o $group_name (string)
pixbuf = $info->get_icon ($size)
o $size (integer)
boolean = $info->is_local
string = $info->last_application
boolean = $info->match ($other_info)
o $other_info (Gtk2::RecentInfo)
string = $info->get_mime_type
unix timestamp = $info->get_modified
boolean = $info->get_private_hint
string = $info->get_short_name
string = $info->get_uri_display
string = $info->get_uri
unix timestamp = $info->get_visited
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.
perl v5.12.1 2010-07-05 Gtk2::RecentInfo(3)
Check Out this Related Man Page
Gtk2::PaperSize(3) User Contributed Perl Documentation Gtk2::PaperSize(3)NAME
Gtk2::PaperSize
HIERARCHY
Glib::Boxed
+----Gtk2::PaperSize
METHODS
papersize = Gtk2::PaperSize->new ($name)
o $name (string or undef)
papersize = Gtk2::PaperSize->new_custom ($name, $display_name, $width, $height, $unit)
o $name (string)
o $display_name (string)
o $width (double)
o $height (double)
o $unit (Gtk2::Unit)
papersize = Gtk2::PaperSize->new_from_key_file ($key_file, $group_name)
o $key_file (Glib::KeyFile)
o $group_name (string)
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)
o $ppd_name (string)
o $ppd_display_name (string)
o $width (double)
o $height (double)
double = $size->get_default_bottom_margin ($unit)
o $unit (Gtk2::Unit)
string = Gtk2::PaperSize->get_default
double = $size->get_default_left_margin ($unit)
o $unit (Gtk2::Unit)
double = $size->get_default_right_margin ($unit)
o $unit (Gtk2::Unit)
double = $size->get_default_top_margin ($unit)
o $unit (Gtk2::Unit)
string = $size->get_display_name
double = $size->get_height ($unit)
o $unit (Gtk2::Unit)
boolean = $size->is_custom
boolean = $size1->is_equal ($size2)
o $size2 (Gtk2::PaperSize)
string = $size->get_name
list = Gtk2::PaperSize::get_paper_sizes ($include_custom)
o $include_custom (boolean)
Since: gtk+ 2.12
string or undef = $size->get_ppd_name
$size->set_size ($width, $height, $unit)
o $width (double)
o $height (double)
o $unit (Gtk2::Unit)
$size->to_key_file ($key_file, $group_name)
o $key_file (Glib::KeyFile)
o $group_name (string)
Since: gtk+ 2.12
double = $size->get_width ($unit)
o $unit (Gtk2::Unit)
ENUMS AND FLAGS
enum Gtk2::Unit
o 'pixel' / 'GTK_UNIT_PIXEL'
o 'points' / 'GTK_UNIT_POINTS'
o 'inch' / 'GTK_UNIT_INCH'
o '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.
perl v5.12.1 2010-07-05 Gtk2::PaperSize(3)