whoops: create a splash window in python

Peter Decker pydecker at gmail.com
Sat Jan 2 16:04:03 EST 2010


On Thu, Dec 31, 2009 at 12:31 AM, Ron Croonenberg <ronc at depauw.edu> wrote:

> is there a way, in python, to create a splash window and when the program
> has completed disappears by sending a msg to it? (I tried creating two gtk
> windows but gtk_main doesn't seem to return unless it gets closed.)

It's really simple to do this in Dabo (which uses wxPython under the
hood, but is _so_ much more elegant!). When you create your app, add
the following two parameters:

app = dabo.dApp(showSplashScreen=True, splashImage="/path/to/splash.png")

That's it!

-- 

# p.d.



More information about the Python-list mailing list