Problem with pygnome, Canvas and images

Juha Syrjälä jsyrjala at cc.hut.fi
Fri Aug 4 12:59:39 EDT 2000


Hello,

I'am having trouble with GnomeCanvas and images. I have been trying following code:

gdkimage=GdkImlib.Image("dog.jpg")
w=canvas.root().add('image',image=gdkimage,x=10,y=10 )
w.show()

But nothing happens.

Same code work if I use ellipse instead of image.

-- 
Juha Syrjälä



More information about the Python-list mailing list