GtkToolItem

An item to be shown in a GtkToolbar.

Object Hierarchy

GObject
`-- GtkObject
       `-- GtkWidget
              `-- GtkContainer
                     `-- GtkBin
                            `-- GtkToolItem

Direct Subclasses

Description

An item to be shown in a GtkToolbar. If you don't want special behavior, use one of the subclasses like GtkToolButton or GtkSeparatorToolItem.

Constructors

-- Creates a new tool item.

Methods

get_expand()
  If the item takes extra space.
get_homogeneous()
  If all tool items are the same size.
get_icon_size()
  Returns the size used for the icon.
get_is_important()
  Whether the tool item is important.
get_orientation()
  Returns the orientation for the tool item.
get_proxy_menu_item()
  Returns the proxy menu item.
get_relief_style()
  Returns the relief style of the tool item.
get_toolbar_style()
  Returns the toolbar style used for the tool item.
get_use_drag_window()
  Returns whether toolitem has a drag window.
get_visible_horizontal()
  Whether the item is visible on horizontally docked toolbars.
get_visible_vertical()
  Whether the item is visible on vertically docked toolbars.
rebuild_menu()
  Rebuilt the overflow menu.
retrieve_proxy_menu_item()
  Returns the menu item for the overflow menu.
set_expand()
  Sets if the menu item shall take more space then necessary.
set_homogeneous()
  If the item shall have the same size as all other items.
set_is_important()
  Whether the tool item should be considered important.
set_proxy_menu_item()
  Sets the menu item used in the overflow menu.
set_tooltip()
  Sets the tooltip.
set_use_drag_window()
  Sets whether toolitem has a drag window.
set_visible_horizontal()
  Sets if the item is visibl on horizontal toolbars.
set_visible_vertical()
  Sets if the item is visibl on vertical toolbars.

Properties

Use get_property and set_property methods to access these.

is-important:
  Whether the toolbar item is considered important.
visible-horizontal:
  Whether the item is visible on a horizontal toolbar.
visible-vertical:
  Whether the item is visible on a vertical toolbar.

Signals

"create-menu-proxy"
  The toolbar needs information about the overflow menu appearance.
"set-tooltip"
  This signal is emitted when the toolitem's tooltip changes.
"toolbar-reconfigured"
  Some toolbar property has changed.