back to gui
Global Constants
generated from ../src/mod_gui/misc/constant.cpp
The following list shows all the constants that are defined on the Global object.
Constants
| Name |
Description |
| wxNOT_FOUND |
|
| wxInvalidOffset |
|
| wxOK |
|
| wxYES_NO |
|
| wxNO |
|
| wxYES |
|
| wxCANCEL |
|
| wxICON_EXCLAMATION |
|
| wxICON_HAND |
|
| wxICON_ERROR |
|
| wxICON_QUESTION |
|
| wxICON_INFORMATION |
|
wxAlignment
| Name |
Description |
| NOT |
|
| CENTER_HORIZONTAL |
|
| CENTRE_HORIZONTAL |
|
| LEFT |
|
| TOP |
|
| RIGHT |
|
| BOTTOM |
|
| CENTER_VERTICAL |
|
| CENTRE_VERTICAL |
|
| CENTER |
|
| CENTRE |
|
See wxSizer, wxBoxSizer, wxFlexGridSizer, wxGridSizer
wxBitmapType
| Name |
Description |
| INVALID |
|
| BMP |
|
| BMP_RESOURCE |
|
| RESOURCE |
|
| ICO |
|
| ICO_RESOURCE |
|
| CUR |
|
| CUR_RESOURCE |
|
| XBM |
|
| XBM_DATA |
|
| XPM |
|
| XPM_DATA |
|
| TIF |
|
| TIF_RESOURCE |
|
| GIF |
|
| GIF_RESOURCE |
|
| PNG |
|
| PNG_RESOURCE |
|
| JPEG |
|
| JPEG_RESOURCE |
|
| PNM |
|
| PNM_RESOURCE |
|
| PCX |
|
| PCX_RESOURCE |
|
| PICT |
|
| PICT_RESOURCE |
|
| ICON |
|
| ICON_RESOURCE |
|
| MACCURSOR |
|
| MACCURSOR_RESOURCE |
|
| ANY |
|
The validity of these flags depends on the platform and wxWidgets configuration.
If all possible wxWidgets settings are used, the Windows platform supports BMP file,
BMP resource, XPM data, and XPM. Under wxGTK, the available formats are BMP file,
XPM data, XPM file, and PNG file. Under wxMotif, the available formats are XBM data,
XBM file, XPM data, XPM file.
wxCalendarDateBorder
| Name |
Description |
| NONE |
|
| SQUARE |
|
| ROUND |
|
See wxCalendarDateAttr, wxCalendarCtrl
wxDirection
| Name |
Description |
| TOP |
|
| BOTTOM |
|
| LEFT |
|
| TOP |
|
| UP |
|
| DOWN |
|
| RIGHT |
|
| NORTH |
|
| SOUTH |
|
| WEST |
|
| EAST |
|
| ALL |
|
See wxSizer, wxBoxSizer, wxFlexGridSizer, wxGridSizer
wxFilter
| Name |
Description |
| NONE |
No filtering
|
| ASCII |
Non-ASCII characters are filtered out.
|
| ALPHA |
Non-alpha characters are filtered out.
|
| ALPHANUMERIC |
Non-alphanumeric characters are filtered out.
|
| NUMERIC |
Non-numeric characters are filtered out.
|
| INCLUDE_LIST |
Use an include list. The validator checks if the user input is on the list,
complaining if not.
|
| EXCLUDE_LIST |
Use an exclude list. The validator checks if the user input is on the list,
complaining if it is.
|
| INCLUDE_CHAR_LIST |
Use an include list. The validator checks if each input character is in
the list (one character per list element), complaining if not.
|
| EXCLUDE_CHAR_LIST |
Use an include list. The validator checks if each input character is
in the list (one character per list element), complaining if it is.
|
See wxTextValidator
wxFontEncoding
| Name |
Description |
| SYSTEM |
system default |
| DEFAULT |
current default encoding |
| ISO8859_1 |
West European (Latin1) |
| ISO8859_2 |
Central and East European (Latin2) |
| ISO8859_3 |
Esperanto (Latin3) |
| ISO8859_4 |
Baltic (old) (Latin4) |
| ISO8859_5 |
Cyrillic |
| ISO8859_6 |
Arabic |
| ISO8859_7 |
Greek |
| ISO8859_8 |
Hebrew |
| ISO8859_9 |
Turkish (Latin5) |
| ISO8859_10 |
Variation of Latin4 (Latin6) |
| ISO8859_11 |
Thai |
| ISO8859_12 |
Doesn't exist currently, but put it
here anyhow to make all ISO8859
consecutive numbers |
| ISO8859_13 |
Baltic (Latin7) |
| ISO8859_14 |
Latin8 |
| ISO8859_15 |
Latin9 (a.k.a. Latin0, includes euro) |
| ISO8859_MAX |
|
| KOI8 |
We don't support any of KOI8 variants |
| ALTERNATIVE |
same as MS-DOS CP866 |
| BULGARIAN |
used under Linux in Bulgaria |
| CP437 |
original MS-DOS codepage |
| CP850 |
CP437 merged with Latin1 |
| CP852 |
CP437 merged with Latin2 |
| CP855 |
another cyrillic encoding |
| CP866 |
and another one and for Windows |
| CP874 |
WinThai |
| CP932 |
Japanese (shift-JIS) |
| CP936 |
Chinese simplified (GB) |
| CP949 |
Korean (Hangul charset) |
| CP950 |
Chinese (traditional - Big5) |
| CP1250 |
WinLatin2 |
| CP1251 |
WinCyrillic |
| CP1252 |
WinLatin1 |
| CP1253 |
WinGreek (8859-7) |
| CP1254 |
WinTurkish |
| CP1255 |
WinHebrew |
| CP1256 |
WinArabic |
| CP1257 |
WinBaltic (same as Latin 7) |
| CP12_MAX |
|
| UTF7 |
UTF-7 Unicode encoding |
| UTF8 |
UTF-8 Unicode encoding |
| UNICODE |
Unicode - currently used only by wxEncodingConverter class |
| MAX |
|
wxId
| Name |
Description |
| LOWEST |
|
| HIGHEST |
|
| SEPARATOR |
|
| OPEN |
|
| CLOSE |
|
| NEW |
|
| SAVE |
|
| SAVEAS |
|
| REVERT |
|
| EXIT |
|
| UNDO |
|
| REDO |
|
| HELP |
|
| PRINT |
|
| PRINT_SETUP |
|
| PREVIEW |
|
| ABOUT |
|
| HELP_CONTENTS |
|
| HELP_COMMANDS |
|
| HELP_PROCEDURES |
|
| HELP_CONTEXT |
|
| CUT |
|
| COPY |
|
| PASTE |
|
| CLEAR |
|
| FIND |
|
| DUPLICATE |
|
| SELECTALL |
|
| FILE1 |
|
| FILE2 |
|
| FILE3 |
|
| FILE4 |
|
| FILE5 |
|
| FILE6 |
|
| FILE7 |
|
| FILE8 |
|
| FILE9 |
|
| OK |
|
| CANCEL |
|
| APPLY |
|
| YES |
|
| NO |
|
| STATIC |
|
| FORWARD |
|
| BACKWARD |
|
| DEFAULT |
|
| MORE |
|
| SETUP |
|
| RESET |
|
| CONTEXT_HELP |
|
| YESTOALL |
|
| NOTOALL |
|
| ABORT |
|
| RETRY |
|
| IGNORE |
|
wxItemKind
| Name |
Description |
| SEPARATOR |
|
| NORMAL |
|
| CHECK |
|
| RADIO |
|
| MAX |
|
See wxMenuBar, wxMenu, wxToolBar
wxKeyCode
| Name |
Description |
| BACK |
|
| TAB |
|
| RETURN |
|
| ESCAPE |
|
| SPACE |
|
| DELETE |
|
| START |
|
| LBUTTON |
|
| RBUTTON |
|
| CANCEL |
|
| MBUTTON |
|
| CLEAR |
|
| SHIFT |
|
| ALT |
|
| CONTROL |
|
| MENU |
|
| PAUSE |
|
| CAPITAL |
|
| PRIOR |
|
| NEXT |
|
| END |
|
| HOME |
|
| LEFT |
|
| UP |
|
| RIGHT |
|
| DOWN |
|
| SELECT |
|
| PRINT |
|
| EXECUTE |
|
| SNAPSHOT |
|
| INSERT |
|
| HELP |
|
| NUMPAD0 |
|
| NUMPAD1 |
|
| NUMPAD2 |
|
| NUMPAD3 |
|
| NUMPAD4 |
|
| NUMPAD5 |
|
| NUMPAD6 |
|
| NUMPAD7 |
|
| NUMPAD8 |
|
| NUMPAD9 |
|
| MULTIPLY |
|
| ADD |
|
| SEPARATOR |
|
| SUBTRACT |
|
| DECIMAL |
|
| DIVIDE |
|
| F1 |
|
| F2 |
|
| F3 |
|
| F4 |
|
| F5 |
|
| F6 |
|
| F7 |
|
| F8 |
|
| F9 |
|
| F10 |
|
| F11 |
|
| F12 |
|
| F13 |
|
| F14 |
|
| F15 |
|
| F16 |
|
| F17 |
|
| F18 |
|
| F19 |
|
| F20 |
|
| F21 |
|
| F22 |
|
| F23 |
|
| F24 |
|
| NUMLOCK |
|
| SCROLL |
|
| PAGEUP |
|
| PAGEDOWN |
|
| NUMPAD_SPACE |
|
| NUMPAD_TAB |
|
| NUMPAD_ENTER |
|
| NUMPAD_F1 |
|
| NUMPAD_F2 |
|
| NUMPAD_F3 |
|
| NUMPAD_F4 |
|
| NUMPAD_HOME |
|
| NUMPAD_LEFT |
|
| NUMPAD_UP |
|
| NUMPAD_RIGHT |
|
| NUMPAD_DOWN |
|
| NUMPAD_PRIOR |
|
| NUMPAD_PAGEUP |
|
| NUMPAD_NEXT |
|
| NUMPAD_PAGEDOWN |
|
| NUMPAD_END |
|
| NUMPAD_BEGIN |
|
| NUMPAD_INSERT |
|
| NUMPAD_DELETE |
|
| NUMPAD_EQUAL |
|
| NUMPAD_MULTIPLY |
|
| NUMPAD_ADD |
|
| NUMPAD_SEPARATOR |
|
| NUMPAD_SUBTRACT |
|
| NUMPAD_DECIMAL |
|
| NUMPAD_DIVIDE |
|
See wxKeyEvent
wxOrientation
| Name |
Description |
| HORIZONTAL |
|
| VERTICAL |
|
| BOTH |
|
See wxSizer, wxBoxSizer, wxFlexGridSizer, wxGridSizer,
wxWindow centre, wxWindow centreOnParent,
wxWindow centreOnScreen
wxStretch
| Name |
Description |
| NOT |
|
| SHRINK |
|
| GROW |
|
| EXPAND |
|
| SHAPED |
|
See wxSizer, wxBoxSizer, wxFlexGridSizer, wxGridSizer