[Python-Dev] Event loops, PyOS_InputHook, and Tkinter
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Nov 12 05:39:57 CET 2005
Michiel Jan Laurens de Hoon wrote:
> I have an extension module for scientific visualization. This extension
> module opens one or more windows, in which plots can be made.
What sort of windows are these? Are you using an existing
GUI toolkit, or rolling your own?
> For the graphics windows to remain responsive, I need to make sure that
> its events get handled. So I need an event loop.
How about running your event loop in a separate thread?
Greg
More information about the Python-Dev
mailing list