Re: ToggleButton Change Icon



* William B Carlson <carls107 msu edu> [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."



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