Closing dialog window in Tkinter

Svennglenn Danielnord15 at yahoo.se
Wed Mar 2 08:46:40 EST 2005


Harlin Seritt wrote:
> You can add this:
>
> button = Button(top, text="Close Me", command=top.destroy)
> button.pack()
>
> That will kill the Toplevel window.
> 
> Cheers,
> 
> Harlin Seritt

Thank you, it worked great :)




More information about the Python-list mailing list