Python threading and GUIs

Aahz aahz at pythoncraft.com
Fri Aug 2 14:08:27 EDT 2002


In article <3D4AB0C5.19F68F2C at nospam.com>,
John J Breen  <jbreen at nospam.com> wrote:
>
>        Concerning threading in python I am trying to run two
>GUI components with TK and GTK. I want them to communicate so I was
>thinking of running the Tk mainloop in one thread and the GTK mainloop
>in another. Can I not do this? Only the first thread that I start
>actually runs and the second thread with the second GUI calls just seems
>to be ignored.

That's pretty gross.  Why can't you make them separate processes?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Project Vote Smart: http://www.vote-smart.org/



More information about the Python-list mailing list