here is my program:
from Tkinter import *
def helloButton():
print 'hello button'
root.quit
root = Tk()
Button(root,text = 'Hello Button',command = helloButton).pack()
root.mainloop()when i click on my button,print is ok,why root.quit have no effect?
_______________________________________________ Tkinter-discuss mailing list [email protected] http://mail.python.org/mailman/listinfo/tkinter-discuss
