I'm looking for a very simple canvas for python. What I really need is the ability to draw lines and circles, move them around / get rid of them, and scroll the canvas (so, I'm ideally drawing on an infinite canvas, and just scrolling it around). Ideally, the code would look like:
c = Canvas()
l1 = c.line((x0, y0), (x1, y1))
l2 = c.line((x2, y2), (x3, y3))
c1 = c.circle(((x0 + x1 + x2 + x3)/4, (y0 + y1 + y2 + y3)/4), 10)
c1.delete()
l1.move(5, 10)
c.scroll(5, 5)
That's just some dream code, I'm fine with some minimal boilerplate, but I really don't need anything fancy, probably the only feature I would really like would be the ability to embed in some GUI that looks good on Windows (that rules out Tkinter) and is not extremely heavyweight (that might rule out GTK/Cairo).
This is in Python 2.6. I'd be happy to give any other information