Is it necessary to call Tk() when writing a GUI app with Tkinter?
Terry Reedy
tjreedy at udel.edu
Thu Mar 1 00:40:45 EST 2012
On 2/29/2012 11:41 PM, John Salerno wrote:
> window? If you only want the Windows "X" button to close the window,
> then is it okay to leave out any call to destroy()?
Yes. You must leave it out.
> the latter, then where in the code do you put the call to destroy so
> it won't conflict with the user closing the window with the X
> button?
See my other post of a few minutes ago for an example that now works.
--
Terry Jan Reedy
More information about the Python-list
mailing list