back to gui 

Global Functions

generated from ../src/mod_gui/misc/globfun.cpp

On this page you can find all the functions that are defined on the global object.

Constants

Properties

Name Type Description
wxTheFontList wxFontList The one and only font list object.

Methods

wxAboutBox

wxAboutBox(Info)
 
Name Type Default Description
Info wxAboutDialogInfo

This function shows the standard about dialog containing the information specified in info. If the current platform has a native about dialog which is capable of showing all the fields in info, the native dialog is used, otherwise the function falls back to the generic wxWidgets version of the dialog, i.e. does the same thing as wxGenericAboutBox().

wxBeginBusyCursor

wxBeginBusyCursor(Cursor = wxHourGlassCursor)
 
Name Type Default Description
Cursor wxHourGlassCursor

Changes the cursor to the given cursor for all windows in the application. Use wxEndBusyCursor to revert the cursor back to its previous state. These two calls can be nested, and a counter ensures that only the outer calls take effect. When no cursor is given, wxHourGlassCursor will be used.
You can use the following predefined cursors: wxHourGlassCursor, wxCrossCursor or wxStandardCursor.

wxEndBusyCursor

wxEndBusyCursor()
 

Changes the cursor back to the original cursor, for all windows in the application.

wxGenericAboutBox

wxGenericAboutBox(Info)
 
Name Type Default Description
Info wxAboutDialogInfo

wxInitAllImageHandlers

wxInitAllImageHandlers()
 

Initializes all available image handlers. When wxJS is started, only wxBMPHandler is instantiated. When you only need one image handler you can also use addHandler.

See wxImage, wxBMPHandler, wxGIFHandler, wxICOHandler, wxJPEGHandler, wxPCXHandler, wxPNGHandler, wxPNMHandler, wxTIFFHandler, wxXPMHandler

wxIsBusy

wxIsBusy() : Boolean
 

Returns true if between two wxBeginBusyCursor and wxEndBusyCursor calls.

wxMessageBox

wxMessageBox(Text, 
             Caption = "", 
             Style = wxOk, 
             Parent = null, 
             x = -1, 
             y = -1)
 
Name Type Default Description
Text String
Caption String
Style Integer wxOk
Parent wxWindow null
x Integer -1
y Integer -1

Shows a modal message box with the given text.




Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.