Tkinter and after
Fredrik Lundh
fredrik at pythonware.com
Fri Nov 12 10:09:58 EST 1999
Fred L. Drake, Jr. <fdrake at acm.org> wrote:
> > It is said in Tkinter doc that after() is like a call to time.sleep()
> > wich blocks Tkinter.
>
> I'm not sure what docs you're referring to (presumably the
> eff-bot's), but after() does not block Tk.
what version are you using? if you
run this script, can you move the
scale widget after you've clicked
the button?
from Tkinter import *
root = Tk()
Scale(root).pack()
Button(root, text="click me!",
command=lambda: root.after(100000)
).pack()
mainloop()
</F>
More information about the Python-list
mailing list