Gtk2::ToolItem(3pm) User Contributed Perl Documentation Gtk2::ToolItem(3pm)
NAME
Gtk2::ToolItem - wrapper for GtkToolItem
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::ToolItem
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Activatable
METHODS
toolitem = Gtk2::ToolItem->new
ellipsizemode = $tool_item->get_ellipsize_mode
Since: gtk+ 2.20
boolean = $tool_item->get_expand
$tool_item->set_expand ($expand)
o $expand (boolean)
boolean = $tool_item->get_homogeneous
$tool_item->set_homogeneous ($homogeneous)
o $homogeneous (boolean)
iconsize = $tool_item->get_icon_size
boolean = $tool_item->get_is_important
$tool_item->set_is_important ($is_important)
o $is_important (boolean)
orientation = $tool_item->get_orientation
widget = $tool_item->get_proxy_menu_item ($menu_item_id)
o $menu_item_id (string)
$tool_item->set_proxy_menu_item ($menu_item_id, $menu_item)
o $menu_item_id (string)
o $menu_item (Gtk2::Widget or undef)
$tool_item->rebuild_menu
Since: gtk+ 2.6
reliefstyle = $tool_item->get_relief_style
widget = $tool_item->retrieve_proxy_menu_item
double = $tool_item->get_text_alignment
Since: gtk+ 2.20
orientation = $tool_item->get_text_orientation
Since: gtk+ 2.20
sizegroup = $tool_item->get_text_size_group
Since: gtk+ 2.20
$tool_item->toolbar_reconfigured
Since: gtk+ 2.14
toolbarstyle = $tool_item->get_toolbar_style
$tool_item->set_tooltip_markup ($markup)
o $markup (string or undef)
Since: gtk+ 2.12
$tool_item->set_tooltip ($tooltips, $tip_text, $tip_private)
o $tooltips (Gtk2::Tooltips)
o $tip_text (string)
o $tip_private (string)
$tool_item->set_tooltip_text ($text)
o $text (string or undef)
Since: gtk+ 2.12
boolean = $toolitem->get_use_drag_window
$toolitem->set_use_drag_window ($use_drag_window)
o $use_drag_window (boolean)
boolean = $toolitem->get_visible_horizontal
$toolitem->set_visible_horizontal ($visible_horizontal)
o $visible_horizontal (boolean)
boolean = $toolitem->get_visible_vertical
$toolitem->set_visible_vertical ($visible_vertical)
o $visible_vertical (boolean)
PROPERTIES
'is-important' (boolean : default false : readable / writable / private)
Whether the toolbar item is considered important. When TRUE, toolbar buttons show text in GTK_TOOLBAR_BOTH_HORIZ mode
'visible-horizontal' (boolean : default true : readable / writable / private)
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
'visible-vertical' (boolean : default true : readable / writable / private)
Whether the toolbar item is visible when the toolbar is in a vertical orientation.
SIGNALS
boolean = create-menu-proxy (Gtk2::ToolItem)
toolbar-reconfigured (Gtk2::ToolItem)
boolean = set-tooltip (Gtk2::ToolItem, Gtk2::Tooltips, string, string)
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::Orientation
o 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
o 'vertical' / 'GTK_ORIENTATION_VERTICAL'
enum Gtk2::ReliefStyle
o 'normal' / 'GTK_RELIEF_NORMAL'
o 'half' / 'GTK_RELIEF_HALF'
o 'none' / 'GTK_RELIEF_NONE'
enum Gtk2::ToolbarStyle
o 'icons' / 'GTK_TOOLBAR_ICONS'
o 'text' / 'GTK_TOOLBAR_TEXT'
o 'both' / 'GTK_TOOLBAR_BOTH'
o 'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'
enum Pango::EllipsizeMode
o 'none' / 'PANGO_ELLIPSIZE_NONE'
o 'start' / 'PANGO_ELLIPSIZE_START'
o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
o 'end' / 'PANGO_ELLIPSIZE_END'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::ToolItem(3pm)