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

NAME

6       Gtk2::ToolItem
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::ToolItem
16

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19         Gtk2::Buildable
20         Glib::Object::_Unregistered::GtkActivatable
21

METHODS

23   toolitem = Gtk2::ToolItem->new
24   boolean = $tool_item->get_expand
25   $tool_item->set_expand ($expand)
26           ·   $expand (boolean)
27
28   boolean = $tool_item->get_homogeneous
29   $tool_item->set_homogeneous ($homogeneous)
30           ·   $homogeneous (boolean)
31
32   iconsize = $tool_item->get_icon_size
33   boolean = $tool_item->get_is_important
34   $tool_item->set_is_important ($is_important)
35           ·   $is_important (boolean)
36
37   orientation = $tool_item->get_orientation
38   widget = $tool_item->get_proxy_menu_item ($menu_item_id)
39           ·   $menu_item_id (string)
40
41   $tool_item->set_proxy_menu_item ($menu_item_id, $menu_item)
42           ·   $menu_item_id (string)
43
44           ·   $menu_item (Gtk2::Widget)
45
46   $tool_item->rebuild_menu
47           Since: gtk+ 2.6
48
49   reliefstyle = $tool_item->get_relief_style
50   widget = $tool_item->retrieve_proxy_menu_item
51   $tool_item->toolbar_reconfigured
52           Since: gtk+ 2.14
53
54   toolbarstyle = $tool_item->get_toolbar_style
55   $tool_item->set_tooltip_markup ($markup)
56           ·   $markup (string or undef)
57
58           Since: gtk+ 2.12
59
60   $tool_item->set_tooltip ($tooltips, $tip_text, $tip_private)
61           ·   $tooltips (Gtk2::Tooltips)
62
63           ·   $tip_text (string)
64
65           ·   $tip_private (string)
66
67   $tool_item->set_tooltip_text ($text)
68           ·   $text (string or undef)
69
70           Since: gtk+ 2.12
71
72   boolean = $toolitem->get_use_drag_window
73   $toolitem->set_use_drag_window ($use_drag_window)
74           ·   $use_drag_window (boolean)
75
76   boolean = $toolitem->get_visible_horizontal
77   $toolitem->set_visible_horizontal ($visible_horizontal)
78           ·   $visible_horizontal (boolean)
79
80   boolean = $toolitem->get_visible_vertical
81   $toolitem->set_visible_vertical ($visible_vertical)
82           ·   $visible_vertical (boolean)
83

PROPERTIES

85       'is-important' (boolean : readable / writable / private)
86           Whether the toolbar item is considered important. When TRUE,
87           toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode
88
89       'visible-horizontal' (boolean : readable / writable / private)
90           Whether the toolbar item is visible when the toolbar is in a
91           horizontal orientation.
92
93       'visible-vertical' (boolean : readable / writable / private)
94           Whether the toolbar item is visible when the toolbar is in a
95           vertical orientation.
96

SIGNALS

98       boolean = create-menu-proxy (Gtk2::ToolItem)
99       toolbar-reconfigured (Gtk2::ToolItem)
100       boolean = set-tooltip (Gtk2::ToolItem, Gtk2::Tooltips, string, string)
101

ENUMS AND FLAGS

103   enum Gtk2::IconSize
104       ·   'invalid' / 'GTK_ICON_SIZE_INVALID'
105
106       ·   'menu' / 'GTK_ICON_SIZE_MENU'
107
108       ·   'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
109
110       ·   'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
111
112       ·   'button' / 'GTK_ICON_SIZE_BUTTON'
113
114       ·   'dnd' / 'GTK_ICON_SIZE_DND'
115
116       ·   'dialog' / 'GTK_ICON_SIZE_DIALOG'
117
118   enum Gtk2::Orientation
119       ·   'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
120
121       ·   'vertical' / 'GTK_ORIENTATION_VERTICAL'
122
123   enum Gtk2::ReliefStyle
124       ·   'normal' / 'GTK_RELIEF_NORMAL'
125
126       ·   'half' / 'GTK_RELIEF_HALF'
127
128       ·   'none' / 'GTK_RELIEF_NONE'
129
130   enum Gtk2::ToolbarStyle
131       ·   'icons' / 'GTK_TOOLBAR_ICONS'
132
133       ·   'text' / 'GTK_TOOLBAR_TEXT'
134
135       ·   'both' / 'GTK_TOOLBAR_BOTH'
136
137       ·   'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'
138

SEE ALSO

140       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
141       Gtk2::Container, Gtk2::Bin
142
144       Copyright (C) 2003-2008 by the gtk2-perl team.
145
146       This software is licensed under the LGPL.  See Gtk2 for a full notice.
147
148
149
150perl v5.12.0                      2010-05-02                 Gtk2::ToolItem(3)
Impressum