Gtk2::ToolButton Glib::Object +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Bin +----Gtk2::ToolItem +----Gtk2::ToolButton Gtk2::Atk::ImplementorIface

toolitem = Gtk2::ToolButton->new ($icon_widget, $label)

toolitem = Gtk2::ToolButton->new_from_stock ($stock_id)

widget or undef = $button->get_icon_widget

$button->set_icon_widget ($icon_widget)

string or undef = $button->get_label

$button->set_label ($label)

widget or undef = $button->get_label_widget

$button->set_label_widget ($label_widget)

string = $button->get_stock_id

$button->set_stock_id ($stock_id)

boolean = $button->get_use_underline

$button->set_use_underline ($use_underline)
Icon widget to display in the item Text to show in the item. Widget to use as the item label The stock icon displayed on the item If set, an underline in the label property indicates that the next character should be used for the mnemonic accelerator key in the overflow menu

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