Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

splashscreen Class Reference

Class to manage the splashscreen. More...

#include <splashscreen.h>

Inheritance diagram for splashscreen:

wxSplashScreen List of all members.

Public Methods

  splashscreen (wxWindow *parent=NULL, const wxBitmap &bitmap=wxNullBitmap)
  Constructor.

  ~splashscreen ()
  Destructor.

void  close ()
  Closes the splashscreen.


Static Public Methods

splashscreen *  get (bool create_on_demand=TRUE)
  Gets the global object or creates one if none exists.

splashscreen *  set (splashscreen *desired_splashscreen)
  Sets the global object and returns a pointer to previous one (may be NULL).


Detailed Description

Class to manage the splashscreen.

Call splashcreen::get() to show it and splashcreen::get()->close() to close it. The rest is managed automatically. You don't use the constructor.

Note:
Dropped the parent parameters since some warnings on GTK and wxTheApp()-GetTopWindow() is a better solution anyways.

Constructor & Destructor Documentation

splashscreen::splashscreen wxWindow *    parent = NULL,
const wxBitmap &    bitmap = wxNullBitmap
 

Constructor.

Parameters:
parent  Parent window. Autogenerated to be the wxTheApp->GetTopWindow(). May be NULL.
bitmap  Bitmap of the splashscreen.

Member Function Documentation

splashscreen* splashscreen::get bool    create_on_demand = TRUE [static]
 

Gets the global object or creates one if none exists.

Parameters:
create_on_demand  TRUE to create if not exist. Otherwise don't create one [useful if you just want to get() to close it.]