Gtk2::IconSize.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::IconSize

HIERARCHY

   Glib::Enum
   +----Gtk2::IconSize
 
 

METHODS

iconsize = Gtk2::IconSize->from_name ($name)

*
$name (string)

(width, height) = Gtk2::IconSize->lookup ($size)

*
$size (Gtk2::IconSize)

(width, height) = Gtk2::IconSize->lookup_for_settings ($settings, $size)

*
$settings (Gtk2::Settings)
*
$size (Gtk2::IconSize)

Since: gtk+ 2.2

iconsize = Gtk2::IconSize->register ($name, $width, $height)

*
$name (string)
*
$width (integer)
*
$height (integer)

Gtk2::IconSize->register_alias ($alias, $target)

*
$alias (string)
*
$target (Gtk2::IconSize)

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'

SEE ALSO

Gtk2, Glib::Enum Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.