Tkinter - Multiple Tk() instances/mainloops in one process?

Robin Becker robin at reportlab.com
Wed Mar 25 10:55:10 CET 2009


Gregory Sheaffer wrote:
>........
> 
> So, basically, is this a problem inherent in using Tkinter? And if so, are
> there any workarounds besides tying the windows to a root Tk() in the main
> program (Which isn't really an option the way the system is currently
> designed).
probably, see http://wiki.tcl.tk/1527 which essentially says there's only one 
event loop although there is tcl threading see 
http://www.tcl.tk/doc/howto/thread_model.html, but I don't know if that allows 
multiple event loops.
-- 
Robin Becker




More information about the Python-list mailing list