V H wrote:
> Hi all,
>
> I use a button to generate a toplevel window. I hope only one such window
> is existing before I close it manually. But now each time when I click the
> button a new window is created. How can I do?
>
> How do I bind a function to the close of the window by clicking the cross in
> the up-right side?
look for "WM_DELETE_WINDOW" on this page:
http://effbot.org/tkinterbook/tkinter-events-and-bindings.htm
</F>
_______________________________________________
Tkinter-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tkinter-discuss