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)
Check Out this Related Man Page
Gtk2::RcStyle(3pm) User Contributed Perl Documentation Gtk2::RcStyle(3pm)NAME
Gtk2::RcStyle - wrapper for GtkRcStyle
HIERARCHY
Glib::Object
+----Gtk2::RcStyle
METHODS
rcstyle = Gtk2::RcStyle->new
color = $style->base ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
color = $style->bg ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->bg_pixmap_name ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (string or undef)
rcflags = $style->color_flags ($state, $new=0)
o $state (Gtk2::StateType)
o $new (Gtk2::RcFlags)
rcstyle = $orig->copy
color = $style->fg ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->font_desc ($new=undef)
o $new (scalar)
scalar = $style->name ($new=undef)
o $new (scalar)
color = $style->text ($state, $new=undef)
o $state (Gtk2::StateType)
o $new (Gtk2::Gdk::Color or undef)
scalar = $style->xthickness ($new=undef)
o $new (scalar)
scalar = $style->ythickness ($new=undef)
o $new (scalar)
ENUMS AND FLAGS
flags Gtk2::RcFlags
o 'fg' / 'GTK_RC_FG'
o 'bg' / 'GTK_RC_BG'
o 'text' / 'GTK_RC_TEXT'
o 'base' / 'GTK_RC_BASE'
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'
SEE ALSO
Gtk2, Glib::Object
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::RcStyle(3pm)