remove a toolbar icon


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 $toolbar->remove_space($position), but this won't
affect non-spaces.

I'm pretty sure this has been mentioned before, but couldn't find
anything from searching.

Thanks in advance for any assistance.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]