> > which must be on a separate thread or separate process. >> > > I don't understand why this must be. The controller object (or whatever) > can run just fine in the same thread as all of the windows. The one example > I have handy is Reinteract, which has a window associated with each > "notebook" and only allows each notebook to be opened once. An object of > class "Application" keeps track of all of these windows. You may wish to > consider Application.open_notebook() in > http://git.fishsoup.net/cgit/reinteract/tree/lib/reinteract/application.py > (This may not be the best example, because Reinteract does use threads. > But the windows and the Application object all live in the main thread.) > > In my idea a server is dedicated only to listen, so I don't understand how I could work in a single thread/process, I will take a look to the example link that you provided anyway, thank you and best regards, Giuseppe.
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
