[Tkinter-discuss] after and after_idle

Geoff Bache geoff.bache at gmail.com
Mon May 17 22:52:56 CEST 2010


Hi all,

Is there actually any difference between

root.after_idle(foo)

and

root.after(0, foo)

?

(I've noticed that if I call after_idle and re-add it at the end of my
callbacks then any calls to "after" have no effect, and that I can
work around this by doing after(0, ...) instead, but wondered if there
were any drawbacks to doing this.)

Regards,
Geoff Bache


More information about the Tkinter-discuss mailing list