Hye,

I'm using this code to display an image on a button:

    img = gtk.Image()
    img.set_from_file(imgFullFile)
    button.set_image(img)

with imgFullFile beeing the absolute path of the image.

The code works fine under Linux, but the image is not displayed under Windows.
Do you have any idea why ?

Regards,
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to