wxPython before MainLoop

david david at nospam.spam
Tue Aug 21 04:10:37 EDT 2007


Thanks for that suggestion, and sorry I took so
long to get back to you. That worked.

Because I don't want the splash screen, just
	self.Update

regards,

[david]

Heikki Toivonen wrote:
> [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
> 



More information about the Python-list mailing list