Tkinter and after

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


Hello.

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

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,
but
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
http://www-ihm.lri.fr/~conversy/
mailto:conversy at lri.fr







More information about the Python-list mailing list