[Gtk-sharp-list] Gtk.Image with transparency
aaron at radich.com
Wed Jan 20 00:53:32 EST 2010
OK, I'm lost. I've searched all the forums looking for what I would think
would be a common problem--using a Gtk.Image with an image that has
transparent areas. How can I do this. I think it has something to do with
the Pixmap of the Gtk.Image, but I can't find any examples. My image has a
white color that represents the transparency. Can anyone set me straight?
string sCartIconPathFilename = this.WorkingFolder + "Cart.jpg";
imgCartIcon.Pixbuf = new Gdk.Pixbuf(sCartIconPathFilename);
// need to handle the transparency
catch (Exception ex)
View this message in context: http://old.nabble.com/Gtk.Image-with-transparency-tp27237130p27237130.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.
More information about the Gtk-sharp-list