wxPython before MainLoop
Heikki Toivonen
heikki at osafoundation.org
Fri Aug 10 00:47:40 EDT 2007
[david] wrote:
> I'd like to refresh the display before I start the main loop.
We have this kind of situation in Chandler, where we display and update
the splash screen before we enter MainLoop.
1. Create app object
http://lxr.osafoundation.org/source/chandler/Chandler.py#080
2. During app object creation, in OnInit, put up splash screen and update it
http://lxr.osafoundation.org/source/chandler/application/Application.py#433
3. The splash screen refresh is basically: draw new stuff,
self.Layout(), self.Update(), wx.Yield()
http://lxr.osafoundation.org/source/chandler/application/Application.py#1421
3. Start MainLoop
http://lxr.osafoundation.org/source/chandler/Chandler.py#086
--
Heikki Toivonen
More information about the Python-list
mailing list