Package wx :: Package lib :: Package agw :: Module advancedsplash

[frames | no frames]

## Module wx.lib.agw.advancedsplash

Description:

AdvancedSplash tries to reproduce the behavior of wx.SplashScreen, but with some enhancements (in my opinion).

AdvancedSplash starts its construction from a simple frame. Then, depending on the options passed to AdvancedSplash, it sets the frame shape accordingly to the image passed as input. AdvancedSplash behaves somewhat like wx.SplashScreen, and almost all the methods available in wx.SplashScreen are available also In AdvancedSplash.

Usage:

SplashScreen = AS.AdvancedSplash(parent,
  bitmap, timeout, extrastyle, shadowcolour )

None of the options are strictly required (a part of the "bitmap" parameter). If you use the defaults you get a very simple AdvancedSplash. For the full listing of the input parameters, see the AdvancedSplash __init__() method.

Methods and Settings:

AdvancedSplash is customizable, and in particular you can set:

- Whether you want to mask a colour or not in your input bitmap;
- Where to center the splash screen (on screen, on parent or nowhere);
- Whether it is a "timeout" splashscreen or not;
- The time after which AdvancedSplash is destroyed (if it is a timeout splashscreen);
- The (optional) text you wish to display;
- The font, colour and position of the displayed text (optional).

For more info on methods and initial styles, please refer to the __init__() method for AdvancedSplash or to the specific functions.

AdvancedSplash control is freeware and distributed under the wxPython license.

Latest revision: Andrea Gavana @ 15 Oct 2008, 10.00 GMT Version 0.1

Classes
`AdvancedSplash` |

Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:55:13 2009 | http://epydoc.sf.net