How do I Block Events in wxPython

r0g aioe.org at technicalbloke.com
Wed Dec 9 11:48:26 EST 2009


Wanderer wrote:
> I have a wxPython program which does some calculations and displays
> the results. During these calculations if I click the mouse inside the
> dialog the program locks up. If I leave the dialog alone the process
> completes fine.

If anything in your GUI app takes a non trivial length of time to
execute you need to run it in either a thread or a separate process.

http://linuxgazette.net/107/pai.html

Roger



More information about the Python-list mailing list