idling with tkinter

Fredrik Lundh fredrik at
Thu Aug 26 04:47:45 EDT 1999

G. Lewis <zontar4 at> wrote:
> I found the after_idle() method, but it only calls the callback
> once. Strangely i can't find a method to perminently hook a
> callback into the idle system. Is there one?

yes.  the appropriate method is to call the 'after'
method from inside the callback.  to get things
going, just call the callback once.

you'll find sample code at:
(click on "alarm handlers and other non-event callbacks")


More information about the Python-list mailing list