[Gtk-sharp-list] Radiotoolbutton and image from resources

Peter Johanson latexer at gentoo.org
Mon Feb 12 19:44:29 EST 2007


On Tue, Feb 13, 2007 at 01:38:01AM +0100, To?o wrote:
> Hi!
> My problem is I have a toolbar and some Radiotoolbuttons. I want to put
> an image on them from resources but I don't know how. Theres is no image
> property or something similar.

Gtk.RadioToolButton is a subclass of Gtk.ToolButton, which has an
IconWidget property. You can set that to an instance of a Gtk.Image
created from a resource, and everything should be happy.

-pete



More information about the Gtk-sharp-list mailing list