hi

I am plying with the gnome canvas, and having a problem adding images.  

This works:

item = group.add ("rect", x1 = x - a, y1 = y - a, x2 = x + a, y2 = y +
a, fill_color = color, outline_color = "black", width_units = 2.5)

but if I do:

item = group.add("image" , ... )

I get the error:

TypeError: add() takes exactly 2 arguments (X given)

where X is the number of args I gave.

Any clues or examples known?

Thanks


-- 

  Rob Brown-Bayliss
 ---======o======---
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk

Reply via email to