Gtk2::Toolbar Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Toolbar Gtk2::Atk::ImplementorIface

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)

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

iconsize = $toolbar->get_icon_size

$toolbar->set_icon_size ($icon_size)

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

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)

integer = $toolbar->get_n_items

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

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

$toolbar->remove_space ($position)

boolean = $toolbar->get_show_arrow

$toolbar->set_show_arrow ($show_arrow)

toolbarstyle = $toolbar->get_style

$toolbar->set_style ($style)

boolean = $toolbar->get_tooltips

$toolbar->set_tooltips ($enable)

$toolbar->unset_icon_size

$toolbar->unset_style
The orientation of the toolbar If an arrow should be shown if the toolbar doesn't fit How to draw the toolbar

flags Gtk2::Gdk::EventMask
Gtk2, Glib::Object, Gtk2::Object, Gtk2::Widget, Gtk2::Container Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.