Tkinter and after

Stephane Conversy conversy at
Fri Nov 12 09:46:45 EST 1999


It is said in Tkinter doc that after() is like a call to time.sleep()
wich blocks

there is a _tkinter.createtimerhandler(), but the returned objects can
not be
cancelled (as it should be with after_cancel).

So how to do an after() with  Tkinter ? I implemented a threaded timer,
I need to do things in the main thread, not in the timer thread.

and I didn't find it in the faq...

Stéphane Conversy
mailto:conversy at

More information about the Python-list mailing list