[Glade-users] GdkPixbuf error




I added an image icon in Glade, and for the Icon property I selected a .png file. The pixbuf property in the 
.glade file doesn't specify the path of the file, just the file name. And therefore, when I run the project, 
I get warnings:
"libglae-WARNING **: Error loading image: Failed to open file"  and
"libglae-WARNING **: could not convert string to type 'GdkPixbuf' for property 'pixbuf'.
And the image is not displayed on the screen.
 
Any idea how/where to set the path for the image file? I am working in Python.
 
Thanks much,
Arthur.                                           
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20101026/e24f5a2a/attachment.html 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]