[Tutor] wxPython

Kent Johnson kent37 at tds.net
Mon Jan 30 14:51:31 CET 2006


Øyvind wrote:
> Hello.
> 
> I have made some programs using wxPython (PythonCard). They all seem to
> have one common nominator. When the program are doing something unrelated
> unrelated to the graphics (for example, ftp's, works with a document or a
> file), the graphics freezes. It does unfreeze afterwards, but since the
> working with the other files might take a few minutes, the user assumes my
> program has crashed. How can I avoid that the graphics freeze.

The problem is that your long-running task is not yielding any time to 
the GUI to respond to events or update the screen. See this page for a 
detailed discussion of your options:
http://wiki.wxpython.org/index.cgi/LongRunningTasks

Kent



More information about the Tutor mailing list