SplashScreen shows a window with a thin border, displaying a bitmap describing your application.
Show it in application initialisation, and then either explicitly destroy it or let it time-out.
Example usage:
bitmap = wx.Bitmap('splash16.png', wx.BITMAP_TYPE_PNG)
splash = wx.SplashScreen(bitmap, wx.SPLASH_CENTRE_ON_SCREEN|.SPLASH_TIMEOUT,
6000, None, -1, wx.DefaultPosition, wx.DefaultSize,
wx.BORDER_SIMPLE|.STAY_ON_TOP)
wx.Yield()
__init__ | Construct the splash screen passing a bitmap, a style, a timeout, a window id, optional position and size, and a window style. |
GetBitmap | Get the spash screen’s bitmap |
GetSplashStyle | Returns the splash style (see SplashScreen for details). |
GetTimeout | Returns the timeout in milliseconds. |
SetBitmap | Set a new bitmap for the splash screen. |
Bitmap | See GetBitmap and SetBitmap |
SplashStyle | See GetSplashStyle |
Timeout | See GetTimeout |
SplashScreen shows a window with a thin border, displaying a bitmap describing your application.
Possible constructors:
SplashScreen(bitmap, splashStyle, milliseconds, parent, id=ID_ANY,
pos=DefaultPosition, size=DefaultSize,
style=BORDER_SIMPLE|FRAME_NO_TASKBAR|STAY_ON_TOP)
Construct the splash screen passing a bitmap, a style, a timeout, a window id, optional position and size, and a window style.
splashStyle is a bitlist of some of the following:
milliseconds is the timeout in milliseconds.
Parameters: |
---|
Returns the splash style (see SplashScreen for details).
Return type: | long |
---|
Returns the timeout in milliseconds.
Return type: | int |
---|
Set a new bitmap for the splash screen.
See GetSplashStyle
See GetTimeout