Hi,

The adage often goes something like this:

Do all GUI actions in a GUI thread (usually main thread), do I/O in
different threads.

While it is a good wisdom to apply blanketly, I'm curious about bad outcome
from not following that advice. Other than the obvious blocking nature of
the event loop, which is why we need threads to work with it, is there any
other downside from directly creating, modifying, or destroying Tk objects
(such as widgets, variables) in non-GUI threads?

Thanks!
Nam

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
https://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to