Tkinter - One Canvas to Rule Them All?
Peter Otten
__peter__ at web.de
Tue May 25 03:01:05 EDT 2004
Dave Harris wrote:
> I derived two Frame classes and created a Canvas in each. I was extremely
> surprised when frame1.canvas.delete('all') erased the image in
> frame2.canvas!
Maybe you are accidentally deleting the last reference to the image (the
canvas itself doesn't keep one). Care to show some code?
> I deduce from this behavior that there is a single database behind the
> scenes for the Canvas implementation.
I can't confirm that.
Peter
More information about the Python-list
mailing list