Next:
Gtk2::Tooltip
Previous:
Gtk2::ToolButton
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::ToolItem



NAME

Gtk2::ToolItem

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ToolItem

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

METHODS

toolitem = Gtk2::ToolItem->new

boolean = $tool_item->get_expand

$tool_item->set_expand ($expand)

boolean = $tool_item->get_homogeneous

$tool_item->set_homogeneous ($homogeneous)

iconsize = $tool_item->get_icon_size

boolean = $tool_item->get_is_important

$tool_item->set_is_important ($is_important)

orientation = $tool_item->get_orientation

widget = $tool_item->get_proxy_menu_item ($menu_item_id)

$tool_item->set_proxy_menu_item ($menu_item_id, $menu_item)

$tool_item->rebuild_menu

Since: gtk+ 2.6

reliefstyle = $tool_item->get_relief_style

widget = $tool_item->retrieve_proxy_menu_item

toolbarstyle = $tool_item->get_toolbar_style

$tool_item->set_tooltip_markup ($markup)

Since: gtk+ 2.12

$tool_item->set_tooltip ($tooltips, $tip_text, $tip_private)

$tool_item->set_tooltip_text ($text)

Since: gtk+ 2.12

boolean = $toolitem->get_use_drag_window

$toolitem->set_use_drag_window ($use_drag_window)

boolean = $toolitem->get_visible_horizontal

$toolitem->set_visible_horizontal ($visible_horizontal)

boolean = $toolitem->get_visible_vertical

$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

enum Gtk2::Orientation

enum Gtk2::ReliefStyle

enum Gtk2::ToolbarStyle

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:04:11 2009