wxPython before MainLoop

Heikki Toivonen heikki at osafoundation.org
Fri Aug 10 06:47:40 CEST 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

2. During app object creation, in OnInit, put up splash screen and update it


3. The splash screen refresh is basically: draw new stuff,
self.Layout(), self.Update(), wx.Yield()

3. Start MainLoop

  Heikki Toivonen

More information about the Python-list mailing list