Tkinter problem
Matthew Dixon Cowles
matt at mondoinfo.com
Sun Nov 3 21:18:01 EST 2002
On 3 Nov 2002 17:51:42 -0800, Benson Ngai <benson123456 at yahoo.com>
wrote:
> Is there another command that I can use so
> that it just close that 1 sub windows? here is the code!
> okButton=Button(msgWin,text="OK",command=msgWin.quit,justify=CENTER)
> #^^^^^^ Problem on this line^^^^^^^^^^^^^^^^^^^^^######
The method destroy does what you want.
Regards,
Matt
More information about the Python-list
mailing list