Gtk2::IconSize(3) User Contributed Perl Documentation Gtk2::IconSize(3)

Gtk2::IconSize - wrapper for GtkIconSize

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

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)

  • $alias (string)
  • $target (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'

Gtk2, Glib::Enum

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

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

2022-05-29 perl v5.36.0