Gtk2::IconSize(3) User Contributed Perl Documentation Gtk2::IconSize(3) NAME Gtk2::IconSize - wrapper for GtkIconSize HIERARCHY Glib::Enum +----Gtk2::IconSize METHODS iconsize = Gtk2::IconSize->from_name ($name) o $name (string) (width, height) = Gtk2::IconSize->lookup ($size) o $size (Gtk2::IconSize) (width, height) = Gtk2::IconSize->lookup_for_settings ($settings, $size) o $settings (Gtk2::Settings) o $size (Gtk2::IconSize) Since: gtk+ 2.2 iconsize = Gtk2::IconSize->register ($name, $width, $height) o $name (string) o $width (integer) o $height (integer) Gtk2::IconSize->register_alias ($alias, $target) o $alias (string) o $target (Gtk2::IconSize) 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' SEE ALSO Gtk2, Glib::Enum 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.38.0 2023-07-25 Gtk2::IconSize(3)