Hi, I've added a ToggleToolButton to a toolbar with the following lines of code (&new_pixmap returns a Gtk2::Image): $tb_item2 = Gtk2::ToggleToolButton->new; $tb_item2->set_label("Spelling"); $spell_widget_icon = &new_pixmap("spellcheck.xpm", $window, $bg); $tb_item2->set_icon_widget($spell_widget_icon); $tb_item2->show; $toolbar->append_widget($tb_item2,"", ""); Now what I want is that the button honors the Gtk2::ToolbarStyle setting (icons, text, both) which I have set for the rest of the toolbar with $toolbar->set_style. How do I do this? Ciao Florian
Attachment:
pgp_UnF5L9qPj.pgp
Description: PGP signature