[Tutor] Tkinter problem
Maximiliano Ichazo
max_ig@yahoo.com
Fri, 5 Apr 2002 11:34:39 -0800 (PST)
Brian,
Try this:
>
> import sys
> from Tkinter import *
>
> def die(event):
> sys.exit(0)
>
> root = Tk()
Dedent the following lines:
> button = Button(root)
> button["text"] = "Ave atque vale!"
> button.bind("<Button-1>", die)
> button.pack()
> root.mainloop()
That's all.
Max
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/