By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,427 Members | 1,354 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,427 IT Pros & Developers. It's quick & easy.

tkinter: call root.after from a thread?

P: n/a
Let's say we have

root = Tk()
.... <layout gui, spawn thread etc....>

Is a safe to call the method root.after(...) from a separate thread?
(The registered callback updates the GUI). I know you're supposed to
avoid calling methods such as pack(), etc. from a thread, but I was
wondering if calling root.after() would be safe? I'm doing this in a
GUI without any problems, so far. Thanks,
Benjamin Rutt
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.