Tk Canvas objects - Deletable?

Randall Hopper aa8vb at vislab.epa.gov
Wed May 12 09:40:01 EDT 1999


Hever Zsolt:
 |>I actually meant the Tkinter Canvas objects, not the Tk canvas items under
 |>the hood.
 |
 |Your immortal.py code has been changed.

Yes, I was trying out Fredrik's suggestions.

 |It is a very bad code, but I hope this is what you would like to do.

Sure, it was contrived code to illustrate the problem.

 |but I hope this is what you would like to do.
...
 |I think visiting the <http://www.python.org/topics/tkinter/> would help you
 |to understand  the philosophy of Tkinter.
 |
 |The following is from there:

Unfortunately it doesn't.  Reading the source literally, to delete the
Python Canvas Group object, I need to nuke the Canvas.  I want to delete
the Canvas Group without nuking the Canvas.  (FWIW, the Group object still
doesn't get deleted when you delete the canvas.)

But thanks anyway.

Randall





More information about the Python-list mailing list