Tkinter problem
Benson Ngai
benson123456 at yahoo.com
Mon Nov 4 11:15:41 EST 2002
okButton=Button(msgWin,text="OK",command=msgWin.quit,justify=CENTER)
#^^^^^^ Problem on this line^^^^^^^^^^^^^^^^^^^^^######
m.. This is really strange.... I am useing python 2.2.2 in windows
2000. when I run this program... the main windows would come up but
then when I click on the "About" in the menu bar. a new windows would
pop up with a small line of text and a "OK" button, but when I click
on the "OK" butoon it close the whole program.... not just the
sub-window. should I still use the .quit command?? if not..what other
command should i use? I am new to python and Tkinter. please help
Thanks a lot
Benson
More information about the Python-list
mailing list