Re: [Tkinter-discuss] Threads and GUI

2008-01-29 Thread Bob Greschke
Hi! Well...you CAN do things to a GUI from a thread in Tkinter, but not on Windows (and, of course, not on Linux, Solaris or OSX just because you're not supposed to in the first place). I had, in essence: Stop = False def TickleButton(But): while Stop == False: sleep(.25)

Re: [Tkinter-discuss] Threads and GUI

2008-01-23 Thread mkieverpy
Hello Bob, You wrote: >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