Re: [Vala] using a GLib.Icon in an IconView



Gtk.Invisible w = new Gtk.Invisible();  
Gdk.Pixbuf pixb  = w.render_icon(Gtk.Stock.CONNECT, IconSize.BUTTON,
null);

best regards



Am Montag, den 31.10.2011, 15:59 +0100 schrieb rastersoft:
Hi all:

I'm working with a Gtk.IconView, and need to put standard icons in it. I 
have several ThemedIcons, and want to use them there, but IconView 
expects a Gdk.Pixbuf. How can I do that? I've been unable to find how to 
render a GLib.Icon in a Gdk.Pixbuf.

Thanks.






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