wxSplashScreen — wx v2.4.2

Search documentation of wx

# View Source wxSplashScreen (wx v2.4.2)

Functions for wxSplashScreen class

`wxSplashScreen` 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:

This class is derived (and can use functions) from: `wxFrame` `wxTopLevelWindow` `wxWindow` `wxEvtHandler`

wxWidgets docs: wxSplashScreen

# Summary

## Types

wxSplashScreen()

## Functions

destroy(This)

Destroys the splash screen.

getSplashStyle(This)

Returns the splash style (see `new/6` for details).

getTimeout(This)

Returns the timeout in milliseconds.

new(Bitmap, SplashStyle, Milliseconds, Parent, Id)
new/6

Construct the splash screen passing a bitmap, a style, a timeout, a window id, optional position and size, and a window style.

# Types

Link to this type

# wxSplashScreen()

View Source

    -type wxSplashScreen() :: wx:wx_object().

# Functions

Link to this function

# destroy(This)

View Source

    -spec destroy(This :: wxSplashScreen()) -> ok.

Destroys the splash screen.

Link to this function

# getSplashStyle(This)

View Source

    -spec getSplashStyle(This) -> integer() when This :: wxSplashScreen().

Returns the splash style (see `new/6` for details).

Link to this function

# getTimeout(This)

View Source

    -spec getTimeout(This) -> integer() when This :: wxSplashScreen().

Returns the timeout in milliseconds.

Link to this function

# new(Bitmap, SplashStyle, Milliseconds, Parent, Id)

View Source

    -spec new(Bitmap, SplashStyle, Milliseconds, Parent, Id) -> wxSplashScreen()
                 when
                     Bitmap :: wxBitmap:wxBitmap(),
                     SplashStyle :: integer(),
                     Milliseconds :: integer(),
                     Parent :: wxWindow:wxWindow(),
                     Id :: integer().

Link to this function

# new/6

View Source

    -spec new(Bitmap, SplashStyle, Milliseconds, Parent, Id, [Option]) -> wxSplashScreen()
                 when
                     Bitmap :: wxBitmap:wxBitmap(),
                     SplashStyle :: integer(),
                     Milliseconds :: integer(),
                     Parent :: wxWindow:wxWindow(),
                     Id :: integer(),
                     Option ::
                         {pos, {X :: integer(), Y :: integer()}} |
                         {size, {W :: integer(), H :: integer()}} |
                         {style, integer()}.

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.