Gtk2::IconSize(3p)

NAME
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

COPYRIGHT
Copyright (C) 2003-2007 by the gtk2-perl team.

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