Hi All,

I'm having problems using a GtkPixmap to display the icon for an image in 
the Gnome panel. I have created a pixmap using Gimp which is transparent and 
wish to display this as the icon. The problem is that the icon never gets 
displayed with the proper transparency information (alpha channel). I've 
tried various things, the code I currently have is:

red_im = GdkImlib.Image("red_sphere.png")

red_im.render()
pixmap, mask = red_im.get_pixmap()
pix = gtk.GtkPixmap(pixmap, mask)
pix.show()

# when the pix is added to panel app, alpha information is not used...

I'm using pygtk-0.6.6 and pygnome-*-1.0.53

Any help would be much appreciated,
Tobias Quinn.

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to