[wxPython-users] Splash screen refresh issue
David Poundall
david.poundall at treatmentservices.co.uk
Wed Jan 2 17:18:47 PST 2008
Clean forgot about that one Robin, thanks for the polite poke.
> -----Original Message-----
> From: Robin Dunn [mailto:robin at alldunn.com]
> Sent: 03 January 2008 01:01
> To: wxPython-users at lists.wxwidgets.org
> Subject: Re: [wxPython-users] Splash screen refresh issue
>
> David Poundall wrote:
>
> > Now once the server code kicks in the full paint of the splash screen is
> > interrupted and you can have the original greyed out image for anything
> > up to 2 -3 seconds before the paint event fully runs its course. How
> > may I hold off following applications in order to first of all get a
> > full paint of the splash screen. I have tried removing the yield
> > command in order that the splash screen holds on to processing power
> > long enough to paint the bitmap, but that doesn’t help.
>
> #1 rule in GUI programming (well, 2nd one, after "Choose wxPython"
> <wink!>) is to never block the GUI thread. If you stop the flow of
> control from getting into or getting back to the MainLoop then events
> (like the paint events for the splash screen) will not be delivered to
> their handlers.
>
> See http://wiki.wxpython.org/LongRunningTasks
>
>
> --
> Robin Dunn
> Software Craftsman
> http://wxPython.org Java give you jitters? Relax with wxPython!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.17.13/1206 - Release Date:
> 01/01/2008 12:09
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.13/1206 - Release Date: 01/01/2008
12:09
More information about the wxpython-users
mailing list