man Gtk2::ToolItem () - Gtk2::ToolItem

NAME

Gtk2::ToolItem

HIERARCHY

  Glib::Object
  +----Glib::Object::_Unregistered::GInitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ToolItem

INTERFACES

  Gtk2::Atk::ImplementorIface

METHODS

toolitem = Gtk2::ToolItem->new

$tool_item->set_expand ($expand)

$tool_item->set_homogeneous ($homogeneous)

$tool_item->set_is_important ($is_important)

$tool_item->rebuild_menu

$toolitem->set_use_drag_window ($use_drag_window)

$toolitem->set_visible_horizontal ($visible_horizontal)

$toolitem->set_visible_vertical ($visible_vertical)

PROPERTIES

'is-important' (boolean : 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 : readable / writable / private)
Whether the toolbar item is visible when the toolbar is in a horizontal orientation.
'visible-vertical' (boolean : 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

* 'invalid' / 'GTK_ICON_SIZE_INVALID'
* 'menu' / 'GTK_ICON_SIZE_MENU'
* 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
* 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
* 'button' / 'GTK_ICON_SIZE_BUTTON'
* 'dnd' / 'GTK_ICON_SIZE_DND'
* 'dialog' / 'GTK_ICON_SIZE_DIALOG'

enum Gtk2::Orientation

* 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
* 'vertical' / 'GTK_ORIENTATION_VERTICAL'

enum Gtk2::ReliefStyle

* 'normal' / 'GTK_RELIEF_NORMAL'
* 'half' / 'GTK_RELIEF_HALF'
* 'none' / 'GTK_RELIEF_NONE'

enum Gtk2::ToolbarStyle

* 'icons' / 'GTK_TOOLBAR_ICONS'
* 'text' / 'GTK_TOOLBAR_TEXT'
* 'both' / 'GTK_TOOLBAR_BOTH'
* 'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'

SEE ALSO

Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.