[Tkinter-discuss] Threads and GUI

Bob Greschke bob at passcal.nmt.edu
Tue Jan 22 22:45:50 CET 2008


Is there anything that is OK for a thread to do to the GUI?  Like  
would just calling .update() on a Button() be OK?  It seems to work,  
but is it OK?

I'm calling it on a "Stop" button, specifically, in the thread every  
quarter second, instead of peppering the code with updates() to give  
the button a chance to set it's IntVar value and then stop everything  
when the code gets around to checking that.

Thanks!

Bob



More information about the Tkinter-discuss mailing list