1Gtk2::ToolItem(3) User Contributed Perl Documentation Gtk2::ToolItem(3)
2
3
4
6 Gtk2::ToolItem
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::ToolItem
16
18 Glib::Object::_Unregistered::AtkImplementorIface
19
21 toolitem = Gtk2::ToolItem->new
22
23 boolean = $tool_item->get_expand
24
25 $tool_item->set_expand ($expand)
26
27 * $expand (boolean)
28
29 boolean = $tool_item->get_homogeneous
30
31 $tool_item->set_homogeneous ($homogeneous)
32
33 * $homogeneous (boolean)
34
35 iconsize = $tool_item->get_icon_size
36
37 boolean = $tool_item->get_is_important
38
39 $tool_item->set_is_important ($is_important)
40
41 * $is_important (boolean)
42
43 orientation = $tool_item->get_orientation
44
45 widget = $tool_item->get_proxy_menu_item ($menu_item_id)
46
47 * $menu_item_id (string)
48
49 $tool_item->set_proxy_menu_item ($menu_item_id, $menu_item)
50
51 * $menu_item_id (string)
52 * $menu_item (Gtk2::Widget)
53
54 $tool_item->rebuild_menu
55
56 reliefstyle = $tool_item->get_relief_style
57
58 widget = $tool_item->retrieve_proxy_menu_item
59
60 toolbarstyle = $tool_item->get_toolbar_style
61
62 $tool_item->set_tooltip ($tooltips, $tip_text, $tip_private)
63
64 * $tooltips (Gtk2::Tooltips)
65 * $tip_text (string)
66 * $tip_private (string)
67
68 boolean = $toolitem->get_use_drag_window
69
70 $toolitem->set_use_drag_window ($use_drag_window)
71
72 * $use_drag_window (boolean)
73
74 boolean = $toolitem->get_visible_horizontal
75
76 $toolitem->set_visible_horizontal ($visible_horizontal)
77
78 * $visible_horizontal (boolean)
79
80 boolean = $toolitem->get_visible_vertical
81
82 $toolitem->set_visible_vertical ($visible_vertical)
83
84 * $visible_vertical (boolean)
85
87 'is-important' (boolean : readable / writable / private)
88 Whether the toolbar item is considered important. When TRUE, tool‐
89 bar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode
90
91 'visible-horizontal' (boolean : readable / writable / private)
92 Whether the toolbar item is visible when the toolbar is in a hori‐
93 zontal orientation.
94
95 'visible-vertical' (boolean : readable / writable / private)
96 Whether the toolbar item is visible when the toolbar is in a verti‐
97 cal orientation.
98
100 boolean = create-menu-proxy (Gtk2::ToolItem)
101 toolbar-reconfigured (Gtk2::ToolItem)
102 boolean = set-tooltip (Gtk2::ToolItem, Gtk2::Tooltips, string, string)
103
105 enum Gtk2::IconSize
106
107 * 'invalid' / 'GTK_ICON_SIZE_INVALID'
108 * 'menu' / 'GTK_ICON_SIZE_MENU'
109 * 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
110 * 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
111 * 'button' / 'GTK_ICON_SIZE_BUTTON'
112 * 'dnd' / 'GTK_ICON_SIZE_DND'
113 * 'dialog' / 'GTK_ICON_SIZE_DIALOG'
114
115 enum Gtk2::Orientation
116
117 * 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
118 * 'vertical' / 'GTK_ORIENTATION_VERTICAL'
119
120 enum Gtk2::ReliefStyle
121
122 * 'normal' / 'GTK_RELIEF_NORMAL'
123 * 'half' / 'GTK_RELIEF_HALF'
124 * 'none' / 'GTK_RELIEF_NONE'
125
126 enum Gtk2::ToolbarStyle
127
128 * 'icons' / 'GTK_TOOLBAR_ICONS'
129 * 'text' / 'GTK_TOOLBAR_TEXT'
130 * 'both' / 'GTK_TOOLBAR_BOTH'
131 * 'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'
132
134 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
135 Gtk2::Container, Gtk2::Bin
136
138 Copyright (C) 2003-2007 by the gtk2-perl team.
139
140 This software is licensed under the LGPL. See Gtk2 for a full notice.
141
142
143
144perl v5.8.8 2007-03-18 Gtk2::ToolItem(3)