[Tkinter-discuss] Deadlock on graceful exit

Matteo Landi matteo at matteolandi.net
Thu May 31 14:42:14 CEST 2012


On Thu, May 31, 2012 at 12:56 PM, Wayne Werner <wayne at waynewerner.com> wrote:
>
>
> On Thu, 31 May 2012, Matteo Landi wrote:
>
>> Do you see anything wrong with the description presented above?  Please
>> say so,
>> because I can't figure it out!
>
>
> Yes, though I have not looked at your code, if you're doing what you said
> and
> using threads in a Tkinter app. This will almost always lead to horrible,
> nasty
> bugs. Instead, use the .after() method in Tkinter, and let your app worry
> about
> timing/threading.

Hi Wayne,
I'm currently using `after_idle` to schedule gui updates:  is there
anything wrong in using it instead of `after`?


Cheers,
Matteo


-- 
http://www.matteolandi.net/


More information about the Tkinter-discuss mailing list