Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > tkinter: call root.after from a thread?

Thread Tools

tkinter: call root.after from a thread?

Benjamin Rutt
Posts: 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
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Call Manager limit call duration nazgulero Cisco 0 10-25-2005 06:58 AM
How to make landline call to another landline then out call long distance? jt VOIP 6 01-30-2005 03:57 AM
RMI: remote call or local call Buu Nguyen Java 5 09-17-2004 08:05 AM
help: need to call call web service from java bill sandner Java 1 07-01-2004 02:57 PM
call by address vs. call by value hasho C Programming 35 02-11-2004 08:20 PM