"Trey Keown" <[EMAIL PROTECTED]> wrote

> Does anyone know how to make a wxPython splashscreen?

Using the wxSplashScreen widget?

> not found any working examples.

The wxPython book offers this:

class SketchApp(wx.App):
   def OnInit(self):
       image = wx.image('splash.bmp', wx.BITMAP_TYPE_BMP)
       bmp = image.ConvertToBitmap()
       wx.SpashScreen(bmp,wx.SPLASH_NO_CENTER|wx.SPLAS_TIMEOUT,1000,None,-1)
       wx.Yield()
       frame = SketchFrame(None)
       etc...

The book is invaluable for wxPython users.

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to