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

NAME

6       Gtk2::IconSource
7

HIERARCHY

9         Glib::Boxed
10         +----Gtk2::IconSource
11

METHODS

13       iconsource = Gtk2::IconSource->new
14
15       textdirection = $source->get_direction
16
17       $source->set_direction ($direction)
18
19           * $direction (Gtk2::TextDirection)
20
21       boolean = $source->get_direction_wildcarded
22
23       $source->set_direction_wildcarded ($setting)
24
25           * $setting (boolean)
26
27       localized file name = $source->get_filename
28
29       $source->set_filename ($filename)
30
31           * $filename (localized file name)
32
33       string = $source->get_icon_name
34
35       $source->set_icon_name ($icon_name)
36
37           * $icon_name (string)
38
39       pixbuf or undef = $source->get_pixbuf
40
41       $source->set_pixbuf ($pixbuf)
42
43           * $pixbuf (Gtk2::Gdk::Pixbuf)
44
45       iconsize = $source->get_size
46
47       $source->set_size ($size)
48
49           * $size (Gtk2::IconSize)
50
51       boolean = $source->get_size_wildcarded
52
53       $source->set_size_wildcarded ($setting)
54
55           * $setting (boolean)
56
57       statetype = $source->get_state
58
59       $source->set_state ($state)
60
61           * $state (Gtk2::StateType)
62
63       boolean = $source->get_state_wildcarded
64
65       $source->set_state_wildcarded ($setting)
66
67           * $setting (boolean)
68

ENUMS AND FLAGS

70       enum Gtk2::IconSize
71
72       * 'invalid' / 'GTK_ICON_SIZE_INVALID'
73       * 'menu' / 'GTK_ICON_SIZE_MENU'
74       * 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
75       * 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
76       * 'button' / 'GTK_ICON_SIZE_BUTTON'
77       * 'dnd' / 'GTK_ICON_SIZE_DND'
78       * 'dialog' / 'GTK_ICON_SIZE_DIALOG'
79
80       enum Gtk2::StateType
81
82       * 'normal' / 'GTK_STATE_NORMAL'
83       * 'active' / 'GTK_STATE_ACTIVE'
84       * 'prelight' / 'GTK_STATE_PRELIGHT'
85       * 'selected' / 'GTK_STATE_SELECTED'
86       * 'insensitive' / 'GTK_STATE_INSENSITIVE'
87
88       enum Gtk2::TextDirection
89
90       * 'none' / 'GTK_TEXT_DIR_NONE'
91       * 'ltr' / 'GTK_TEXT_DIR_LTR'
92       * 'rtl' / 'GTK_TEXT_DIR_RTL'
93

SEE ALSO

95       Gtk2, Glib::Boxed
96
98       Copyright (C) 2003-2007 by the gtk2-perl team.
99
100       This software is licensed under the LGPL.  See Gtk2 for a full notice.
101
102
103
104perl v5.8.8                       2007-03-18               Gtk2::IconSource(3)
Impressum