Tkinter and after

Fredrik Lundh fredrik at
Fri Nov 12 10:09:58 EST 1999

Fred L. Drake, Jr. <fdrake at> 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()


Button(root, text="click me!",
       command=lambda: root.after(100000)



More information about the Python-list mailing list