[java-gnome-hackers] Pixbufs from named Icons?
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2010-09-22 03:50:49
|
Guillaume, Is there a way to get a Pixbuf for a named Icon? Seems like there should be a Pixbuf.<init>(Icon) constructor, but I can't find a gtk_pixbuf_new... function that fits. I tried exposing Image's getPixbuf() and using it on a Image.<init>(Icon, IconSize) CRASH. [no surprise there; a GtkImage is specific to how it was created and a pain in the ass, which is why I never exposed any of the getters...] I tried adding a Gtk.renderIcon() overload to take an Icon - NO EFFECT, returns null Any suggestions? AfC Sydney |