[EMAIL PROTECTED] wrote:
Hello,

I'm a having a very strange problem loading images for buttons. I use this code:

button_image = gtk.Image()
button_image.set_from_file(u"icons\dvd.png")

\ is an escape character i python.
Use / or \\.

Johan
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to