wxPython update problem
Robert Amesz
sheershion at mailexpire.com
Mon Apr 7 19:33:12 EDT 2003
Nils Grimsmo wrote:
> i have a problem getting wxPython to update the gui while the
> thread is running user procedures. i have tried calling
> wxWindow.Refresh() and wxWindow.Update() in various orders both on
> the wxFrame and the wxButton, but the gui doesn't update.
Have a look at wxApp::Yield() or ::wxSafeYield(). (I've used C++ syntax
here because the docs do; Yield() is in a member function of your wxApp
class instance, and wxSafeYield() is a function in the wxPython.wx
module.) _Do_ read the docs, as you need to use those functions with
some care.
Robert Amesz
More information about the Python-list
mailing list