Re: remove a toolbar icon

2006-01-02 Thread Dave M
On 12/31/05, muppet [EMAIL PROTECTED] wrote: On Dec 31, 2005, at 8:59 AM, Dave M wrote: Ok, here's what I have: my $toolbar = Gtk2::Toolbar-new; (...several Gtk2::ToolButton-new_from_stock('gtk-stuff') here...) my $new_button = Gtk2::ToolButton-new_from_stock('gtk-foo') # to be added

Re: remove a toolbar icon

2005-12-31 Thread Dave M
On 12/30/05, muppet [EMAIL PROTECTED] wrote: On Dec 30, 2005, at 9:16 AM, Dave M wrote: It's easy enough to add additional icons/elements to a toolbar using the $toolbar-insert_stock(...). But is there a way to remove an element? I have a toolbar which adds an element to the toolbar given

Re: remove a toolbar icon

2005-12-31 Thread muppet
On Dec 31, 2005, at 8:59 AM, Dave M wrote: Ok, here's what I have: my $toolbar = Gtk2::Toolbar-new; (...several Gtk2::ToolButton-new_from_stock('gtk-stuff') here...) my $new_button = Gtk2::ToolButton-new_from_stock('gtk-foo') # to be added later later in code: if($blah) {

remove a toolbar icon

2005-12-30 Thread Dave M
Hello, It's easy enough to add additional icons/elements to a toolbar using the $toolbar-insert_stock(...). But is there a way to remove an element? I have a toolbar which adds an element to the toolbar given a certain action. I'd like to be able to remove it later as well. I noticed there's a

Re: remove a toolbar icon

2005-12-30 Thread muppet
On Dec 30, 2005, at 9:16 AM, Dave M wrote: It's easy enough to add additional icons/elements to a toolbar using the $toolbar-insert_stock(...). But is there a way to remove an element? I have a toolbar which adds an element to the toolbar given a certain action. I'd like to be able to remove