1Gtk2::IconSource(3) User Contributed Perl Documentation Gtk2::IconSource(3)
2
3
4
6 Gtk2::IconSource - wrapper for GtkIconSource
7
9 Glib::Boxed
10 +----Gtk2::IconSource
11
13 iconsource = Gtk2::IconSource->new
14 textdirection = $source->get_direction
15 $source->set_direction ($direction)
16 · $direction (Gtk2::TextDirection)
17
18 boolean = $source->get_direction_wildcarded
19 $source->set_direction_wildcarded ($setting)
20 · $setting (boolean)
21
22 localized file name = $source->get_filename
23 $source->set_filename ($filename)
24 · $filename (localized file name)
25
26 string = $source->get_icon_name
27 Since: gtk+ 2.4
28
29 $source->set_icon_name ($icon_name)
30 · $icon_name (string)
31
32 Since: gtk+ 2.4
33
34 pixbuf or undef = $source->get_pixbuf
35 $source->set_pixbuf ($pixbuf)
36 · $pixbuf (Gtk2::Gdk::Pixbuf)
37
38 iconsize = $source->get_size
39 $source->set_size ($size)
40 · $size (Gtk2::IconSize)
41
42 boolean = $source->get_size_wildcarded
43 $source->set_size_wildcarded ($setting)
44 · $setting (boolean)
45
46 statetype = $source->get_state
47 $source->set_state ($state)
48 · $state (Gtk2::StateType)
49
50 boolean = $source->get_state_wildcarded
51 $source->set_state_wildcarded ($setting)
52 · $setting (boolean)
53
55 enum Gtk2::IconSize
56 · 'invalid' / 'GTK_ICON_SIZE_INVALID'
57
58 · 'menu' / 'GTK_ICON_SIZE_MENU'
59
60 · 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
61
62 · 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
63
64 · 'button' / 'GTK_ICON_SIZE_BUTTON'
65
66 · 'dnd' / 'GTK_ICON_SIZE_DND'
67
68 · 'dialog' / 'GTK_ICON_SIZE_DIALOG'
69
70 enum Gtk2::StateType
71 · 'normal' / 'GTK_STATE_NORMAL'
72
73 · 'active' / 'GTK_STATE_ACTIVE'
74
75 · 'prelight' / 'GTK_STATE_PRELIGHT'
76
77 · 'selected' / 'GTK_STATE_SELECTED'
78
79 · 'insensitive' / 'GTK_STATE_INSENSITIVE'
80
81 enum Gtk2::TextDirection
82 · 'none' / 'GTK_TEXT_DIR_NONE'
83
84 · 'ltr' / 'GTK_TEXT_DIR_LTR'
85
86 · 'rtl' / 'GTK_TEXT_DIR_RTL'
87
89 Gtk2, Glib::Boxed
90
92 Copyright (C) 2003-2011 by the gtk2-perl team.
93
94 This software is licensed under the LGPL. See Gtk2 for a full notice.
95
96
97
98perl v5.28.0 2018-07-18 Gtk2::IconSource(3)