Problem with pygnome, Canvas and images
Eric Jacobs
none at none
Fri Aug 4 16:27:05 EDT 2000
In article <8mespr$r2q6$1 at midnight.cs.hut.fi>, Juha Syrjälä
<jsyrjala at cc.hut.fi> wrote:
> 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.
You need width and height parameters.
More information about the Python-list
mailing list