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
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to