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

Gtk2::Toolbar



NAME

Gtk2::Toolbar

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Toolbar

INTERFACES

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

METHODS

widget = Gtk2::Toolbar->new

widget = $toolbar->append_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon, $callback=undef, $user_data=undef)

widget = $toolbar->append_item ($text, $tooltip_text, $tooltip_private_text, $icon, $callback=undef, $user_data=undef)

$toolbar->append_space

$toolbar->append_widget ($widget, $tooltip_text, $tooltip_private_text)

$toolbar->set_drop_highlight_item ($tool_item, $index)

Since: gtk+ 2.4

integer = $toolbar->get_drop_index ($x, $y)

Since: gtk+ 2.4

iconsize = $toolbar->get_icon_size

$toolbar->set_icon_size ($icon_size)

$toolbar->insert ($item, $pos)

Since: gtk+ 2.4

widget = $toolbar->insert_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon, $callback, $user_data, $position)

widget = $toolbar->insert_item ($text, $tooltip_text, $tooltip_private_text, $icon, $callback, $user_data, $position)

$toolbar->insert_space ($position)

widget = $toolbar->insert_stock ($stock_id, $tooltip_text, $tooltip_private_text, $callback, $user_data, $position)

$toolbar->insert_widget ($widget, $tooltip_text, $tooltip_private_text, $position)

integer = $toolbar->get_item_index ($item)

Since: gtk+ 2.4

integer = $toolbar->get_n_items

Since: gtk+ 2.4

toolitem or undef = $toolbar->get_nth_item ($n)

Since: gtk+ 2.4

orientation = $toolbar->get_orientation

$toolbar->set_orientation ($orientation)

widget = $toolbar->prepend_element ($type, $widget, $text, $tooltip_text, $tooltip_private_text, $icon, $callback=undef, $user_data=undef)

widget = $toolbar->prepend_item ($text, $tooltip_text, $tooltip_private_text, $icon, $callback=undef, $user_data=undef)

$toolbar->prepend_space

$toolbar->prepend_widget ($widget, $tooltip_text, $tooltip_private_text)

reliefstyle = $toolbar->get_relief_style

Since: gtk+ 2.4

$toolbar->remove_space ($position)

boolean = $toolbar->get_show_arrow

Since: gtk+ 2.4

$toolbar->set_show_arrow ($show_arrow)

Since: gtk+ 2.4

toolbarstyle = $toolbar->get_style

$toolbar->set_style ($style)

boolean = $toolbar->get_tooltips

$toolbar->set_tooltips ($enable)

$toolbar->unset_icon_size

$toolbar->unset_style

PROPERTIES

'icon-size' (Gtk2::IconSize : readable / writable / private)
Size of icons in this toolbar
'icon-size-set' (boolean : readable / writable / private)
Whether the icon-size property has been set
'orientation' (Gtk2::Orientation : readable / writable / private)
The orientation of the toolbar
'show-arrow' (boolean : readable / writable / private)
If an arrow should be shown if the toolbar doesn't fit
'toolbar-style' (Gtk2::ToolbarStyle : readable / writable / private)
How to draw the toolbar
'tooltips' (boolean : readable / writable / private)
If the tooltips of the toolbar should be active or not

SIGNALS

orientation-changed (Gtk2::Toolbar, Gtk2::Orientation)
style-changed (Gtk2::Toolbar, Gtk2::ToolbarStyle)
boolean = popup-context-menu (Gtk2::Toolbar, integer, integer, integer)
boolean = focus-home-or-end (Gtk2::Toolbar, boolean)

ENUMS AND FLAGS

enum Gtk2::IconSize

enum Gtk2::Orientation

enum Gtk2::ReliefStyle

enum Gtk2::ToolbarChildType

enum Gtk2::ToolbarStyle

SEE ALSO

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

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:08 2009