logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: ToggleButton Change Icon: msg#00157

Subject: Re: ToggleButton Change Icon
* William B Carlson <carls107@xxxxxxx> [2004-08-24 18:39]:
> The rest of my buttons in the toolbar I'm adding
> $toolbar->insert_stock and the icon button is a square, the
> image is at the top and the text is at the bottom. 

That's set using the toolbar-style property in Gtk2::Toolbar.

> Is there anyway to get this button to match what my other
> buttons look like on the toolbar? 

Probably by using Gtk2::ToggleToolButton -- it inherits from
ToggleButton, but I don't see it adding anything other than
->new_from_stock.

It might even let you get by without explicitly setting the
use_stock property.

Regards,
-- 
Aristotle
"If you can't laugh at yourself, you don't take life seriously enough."


<Prev in Thread] Current Thread [Next in Thread>