[wxPython-users] how to execute code in MainLoop ?
Christopher Barker
Chris.Barker at noaa.gov
Fri Jun 1 12:09:14 PDT 2007
Christopher Barker wrote:
> You might want a wx.App.Yield() in there too, so that someone could push
> a "Stop" button or something.
Better yet, call:
wx.YieldIfNeeded()
or
wx.GetApp().Yield(True)
(they are the same thing)
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list