questions to anyone who uses wxPython

Frank Millman frank at chagford.com
Thu Jul 20 01:52:09 EDT 2006


damacy wrote:
> hello. i'm using wxPython as my GUI package and whenever my program
> executes a long process which takes at least 2 or 3 seconds, the user
> interface gets corrupted while executing the progrocess during the
> period.
>
> i have tried the following lines of code...
>
> frame = mainwindow(None, -1, 'my program')
> ...
> ...
> frame.UpdateWindowUI()
>
> and it did not make any difference at all.
>
> could anyone help me?

I don't really understand the question - what do you mean when you say
the user interface gets corrupted?

Nevertheless, the following pointer may help -

http://tinyurl.com/hj84l

It is an article in the wxPyWiki that discusses various ways of
handling longrunning tasks.

HTH

Frank Millman




More information about the Python-list mailing list