1Gtk2::IconSize(3)     User Contributed Perl Documentation    Gtk2::IconSize(3)
2
3
4

NAME

6       Gtk2::IconSize - wrapper for GtkIconSize
7

HIERARCHY

9         Glib::Enum
10         +----Gtk2::IconSize
11

METHODS

13   iconsize = Gtk2::IconSize->from_name ($name)
14       •   $name (string)
15
16   (width, height) = Gtk2::IconSize->lookup ($size)
17       •   $size (Gtk2::IconSize)
18
19   (width, height) = Gtk2::IconSize->lookup_for_settings ($settings, $size)
20       •   $settings (Gtk2::Settings)
21
22       •   $size (Gtk2::IconSize)
23
24       Since: gtk+ 2.2
25
26   iconsize = Gtk2::IconSize->register ($name, $width, $height)
27       •   $name (string)
28
29       •   $width (integer)
30
31       •   $height (integer)
32
33   Gtk2::IconSize->register_alias ($alias, $target)
34       •   $alias (string)
35
36       •   $target (Gtk2::IconSize)
37

ENUMS AND FLAGS

39   enum Gtk2::IconSize
40       •   'invalid' / 'GTK_ICON_SIZE_INVALID'
41
42       •   'menu' / 'GTK_ICON_SIZE_MENU'
43
44       •   'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
45
46       •   'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
47
48       •   'button' / 'GTK_ICON_SIZE_BUTTON'
49
50       •   'dnd' / 'GTK_ICON_SIZE_DND'
51
52       •   'dialog' / 'GTK_ICON_SIZE_DIALOG'
53

SEE ALSO

55       Gtk2, Glib::Enum
56
58       Copyright (C) 2003-2011 by the gtk2-perl team.
59
60       This software is licensed under the LGPL.  See Gtk2 for a full notice.
61
62
63
64perl v5.34.0                      2022-01-21                 Gtk2::IconSize(3)
Impressum