I've been trying to load XPM and PNG images with transparency into
the GnomeIconList widget, and appearantly am doing it wrong. I'm
expected that a shape mask is built or can be built, but appearanly
it's not happening.
If I create the image using GdkImlib.Image(filename) and add it to
the icon list using GnomeIconList.append_imlib(), the transparent
areas are shown as black. If I call GdkImlib.set_image_shape(0, 0,
0), I lose the portions of the images that are atually black. It
doesn't look like gdk_imlib_create_image_from_xpm_data() is is
exported in the Python binding, and that still wouldn't help with PNG
images (even if it helps with XPMs).
Any suggestions? The Imlib "tutorial" does not raise my confidence.
-Fred
--
Fred L. Drake, Jr. <[EMAIL PROTECTED]>
Corporation for National Research Initiatives
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]