Gtk2::IconSource(3pm) User Contributed Perl Documentation Gtk2::IconSource(3pm)
NAME
Gtk2::IconSource - wrapper for GtkIconSource
HIERARCHY
Glib::Boxed
+----Gtk2::IconSource
METHODS
iconsource = Gtk2::IconSource->new
textdirection = $source->get_direction
$source->set_direction ($direction)
o $direction (Gtk2::TextDirection)
boolean = $source->get_direction_wildcarded
$source->set_direction_wildcarded ($setting)
o $setting (boolean)
localized file name = $source->get_filename
$source->set_filename ($filename)
o $filename (localized file name)
string = $source->get_icon_name
Since: gtk+ 2.4
$source->set_icon_name ($icon_name)
o $icon_name (string)
Since: gtk+ 2.4
pixbuf or undef = $source->get_pixbuf
$source->set_pixbuf ($pixbuf)
o $pixbuf (Gtk2::Gdk::Pixbuf)
iconsize = $source->get_size
$source->set_size ($size)
o $size (Gtk2::IconSize)
boolean = $source->get_size_wildcarded
$source->set_size_wildcarded ($setting)
o $setting (boolean)
statetype = $source->get_state
$source->set_state ($state)
o $state (Gtk2::StateType)
boolean = $source->get_state_wildcarded
$source->set_state_wildcarded ($setting)
o $setting (boolean)
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::StateType
o 'normal' / 'GTK_STATE_NORMAL'
o 'active' / 'GTK_STATE_ACTIVE'
o 'prelight' / 'GTK_STATE_PRELIGHT'
o 'selected' / 'GTK_STATE_SELECTED'
o 'insensitive' / 'GTK_STATE_INSENSITIVE'
enum Gtk2::TextDirection
o 'none' / 'GTK_TEXT_DIR_NONE'
o 'ltr' / 'GTK_TEXT_DIR_LTR'
o 'rtl' / 'GTK_TEXT_DIR_RTL'
SEE ALSO
Gtk2, Glib::Boxed
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::IconSource(3pm)