Closing dialog window in Tkinter
Harlin Seritt
harlinseritt at yahoo.com
Tue Mar 1 21:01:15 EST 2005
You can add this:
button = Button(top, text="Close Me", command=top.destroy)
button.pack()
That will kill the Toplevel window.
Cheers,
Harlin Seritt
More information about the Python-list
mailing list