Rechercher une page de manuel
Gtk2::IconSet.3pm
Langue: en
Version: 2009-03-13 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::IconSetHIERARCHY
Glib::Boxed +----Gtk2::IconSet
METHODS
iconset = Gtk2::IconSet->new
iconset = Gtk2::IconSet->new_from_pixbuf ($pixbuf)
-
- •
- $pixbuf (Gtk2::Gdk::Pixbuf)
$icon_set->add_source ($source)
$icon_set->add_source ($source)
-
- •
- $source (Gtk2::IconSource)
pixbuf = $icon_set->render_icon ($style, $direction, $state, $size, $widget, $detail=undef)
pixbuf = $icon_set->render_icon ($style, $direction, $state, $size, $widget, $detail=undef)
-
- •
- $style (Gtk2::Style or undef)
- •
- $direction (Gtk2::TextDirection)
- •
- $state (Gtk2::StateType)
- •
- $size (Gtk2::IconSize)
- •
- $widget (Gtk2::Widget or undef)
- •
- $detail (string)
list = $icon_set->get_sizes
list = $icon_set->get_sizes
- Returns a list of Gtk2::IconSize's.
ENUMS AND FLAGS
enum Gtk2::IconSize
- •
- 'invalid' / 'GTK_ICON_SIZE_INVALID'
- •
- 'menu' / 'GTK_ICON_SIZE_MENU'
- •
- 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
- •
- 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
- •
- 'button' / 'GTK_ICON_SIZE_BUTTON'
- •
- 'dnd' / 'GTK_ICON_SIZE_DND'
- •
- 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::StateType
- •
- 'normal' / 'GTK_STATE_NORMAL'
- •
- 'active' / 'GTK_STATE_ACTIVE'
- •
- 'prelight' / 'GTK_STATE_PRELIGHT'
- •
- 'selected' / 'GTK_STATE_SELECTED'
- •
- 'insensitive' / 'GTK_STATE_INSENSITIVE'
enum Gtk2::TextDirection
- •
- 'none' / 'GTK_TEXT_DIR_NONE'
- •
- 'ltr' / 'GTK_TEXT_DIR_LTR'
- •
- 'rtl' / 'GTK_TEXT_DIR_RTL'
SEE ALSO
Gtk2, Glib::BoxedCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre