Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::iconset(3pm) [debian man page]

Gtk2::IconSet(3pm)					User Contributed Perl Documentation					Gtk2::IconSet(3pm)

NAME
Gtk2::IconSet - wrapper for GtkIconSet HIERARCHY
Glib::Boxed +----Gtk2::IconSet METHODS
iconset = Gtk2::IconSet->new iconset = Gtk2::IconSet->new_from_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf) $icon_set->add_source ($source) o $source (Gtk2::IconSource) pixbuf = $icon_set->render_icon ($style, $direction, $state, $size, $widget, $detail=undef) o $style (Gtk2::Style or undef) o $direction (Gtk2::TextDirection) o $state (Gtk2::StateType) o $size (Gtk2::IconSize) o $widget (Gtk2::Widget or undef) o $detail (string) list = $icon_set->get_sizes Returns a list of Gtk2::IconSize's. 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::IconSet(3pm)

Check Out this Related Man Page

Gtk2::Image(3pm)					User Contributed Perl Documentation					  Gtk2::Image(3pm)

NAME
Gtk2::Image - wrapper for GtkImage HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Misc +----Gtk2::Image INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::Image->new widget = Gtk2::Image->new_from_animation ($animation) o $animation (Gtk2::Gdk::PixbufAnimation) widget = Gtk2::Image->new_from_file ($filename) o $filename (localized file name or undef) widget = Gtk2::Image->new_from_icon_name ($icon_name, $size) o $icon_name (string) o $size (Gtk2::IconSize) Since: gtk+ 2.6 widget = Gtk2::Image->new_from_icon_set ($icon_set, $size) o $icon_set (Gtk2::IconSet) o $size (Gtk2::IconSize) widget = Gtk2::Image->new_from_image ($image, $mask) o $image (Gtk2::Gdk::Image or undef) o $mask (Gtk2::Gdk::Bitmap or undef) widget = Gtk2::Image->new_from_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf or undef) widget = Gtk2::Image->new_from_pixmap ($pixmap, $mask) o $pixmap (Gtk2::Gdk::Pixmap or undef) o $mask (Gtk2::Gdk::Bitmap or undef) widget = Gtk2::Image->new_from_stock ($stock_id, $size) o $stock_id (string) o $size (Gtk2::IconSize) pixbufanimation = $image->get_animation $image->clear Since: gtk+ 2.8 $image->set_from_animation ($animation) o $animation (Gtk2::Gdk::PixbufAnimation) $image->set_from_file ($filename) o $filename (localized file name or undef) $image->set_from_icon_name ($icon_name, $size) o $icon_name (string) o $size (Gtk2::IconSize) Since: gtk+ 2.6 $image->set_from_icon_set ($icon_set, $size) o $icon_set (Gtk2::IconSet) o $size (Gtk2::IconSize) $image->set_from_image ($gdk_image, $mask) o $gdk_image (Gtk2::Gdk::Image or undef) o $mask (Gtk2::Gdk::Bitmap or undef) $image->set_from_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf or undef) $image->set_from_pixmap ($pixmap, $mask) o $pixmap (Gtk2::Gdk::Pixmap or undef) o $mask (Gtk2::Gdk::Bitmap or undef) $image->set_from_stock ($stock_id, $size) o $stock_id (string) o $size (Gtk2::IconSize) list = $image->get_icon_name Since: gtk+ 2.6 list = $image->get_icon_set list = $image->get_image pixbuf = $image->get_pixbuf integer = $image->get_pixel_size Since: gtk+ 2.6 $image->set_pixel_size ($pixel_size) o $pixel_size (integer) Since: gtk+ 2.6 list = $image->get_pixmap (stock_id, icon_size) = $image->get_stock imagetype = $image->get_storage_type PROPERTIES
'file' (string : default undef : readable / writable / private) Filename to load and display 'gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private) The GIcon being displayed 'icon-name' (string : default undef : readable / writable / private) The name of the icon from the icon theme 'icon-set' (Gtk2::IconSet : default undef : readable / writable / private) Icon set to display 'icon-size' (integer : default 4 : readable / writable / private) Symbolic size to use for stock icon, icon set or named icon 'image' (Gtk2::Gdk::Image : default undef : readable / writable / private) A GdkImage to display 'mask' (Gtk2::Gdk::Pixmap : default undef : readable / writable / private) Mask bitmap to use with GdkImage or GdkPixmap 'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private) A GdkPixbuf to display 'pixbuf-animation' (Gtk2::Gdk::PixbufAnimation : default undef : readable / writable / private) GdkPixbufAnimation to display 'pixel-size' (integer : default -1 : readable / writable / private) Pixel size to use for named icon 'pixmap' (Gtk2::Gdk::Pixmap : default undef : readable / writable / private) A GdkPixmap to display 'stock' (string : default undef : readable / writable / private) Stock ID for a stock image to display 'storage-type' (Gtk2::ImageType : default "empty" : readable / private) The representation being used for image data 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::ImageType o 'empty' / 'GTK_IMAGE_EMPTY' o 'pixmap' / 'GTK_IMAGE_PIXMAP' o 'image' / 'GTK_IMAGE_IMAGE' o 'pixbuf' / 'GTK_IMAGE_PIXBUF' o 'stock' / 'GTK_IMAGE_STOCK' o 'icon-set' / 'GTK_IMAGE_ICON_SET' o 'animation' / 'GTK_IMAGE_ANIMATION' o 'icon-name' / 'GTK_IMAGE_ICON_NAME' o 'gicon' / 'GTK_IMAGE_GICON' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc 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::Image(3pm)
Man Page