Re: ToggleButton Change Icon
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: ToggleButton Change Icon
- Date: Tue, 24 Aug 2004 19:49:40 +0200
* 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]