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

2009-03-25 Thread andrew cooke
i havn't used tkinter for years, and can't remember a thing about it, but many gui toolkits (not just in python) manage a single event loop and need care when working with multiple threads. that doesn't mean that you cannot have multithreaded programs, but does mean that you do not invoke gui act

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

2009-03-25 Thread Robin Becker
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

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

2009-03-24 Thread Gregory Sheaffer
I've been working on a Python project for several weeks involving a client for connecting to an AIM distribution server and holding multiple conversations in separate windows. Without getting into a lot of detail, the basic main program loop is while(1) on message recieved