You can add this:

button = Button(top, text="Close Me", command=top.destroy)
button.pack()

That will kill the Toplevel window. 

Cheers,

Harlin Seritt

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to