Why is Pmw.Blt sending Destroy messages to my Toplevel?

Fredrik Lundh fredrik at pythonware.com
Thu Aug 15 17:55:50 CEST 2002


"Phlip" wrote:

> This really distracts because I need to bind to <Destroy> and perform
> exit procedures.

if you want to be notified when the toplevel is destroyed, it's
probably easier to use a WM_DELETE_PROTOCOL hander.

see the last few sections on this page for details:

http://www.pythonware.com/library/tkinter/introduction/events-and-bindings.htm

</F>





More information about the Python-list mailing list