Classes | |
| class | wxSystemAppearance |
| Provides information about the current system appearance. More... | |
| class | wxSystemSettings |
| wxSystemSettings allows the application to ask for details about the system. More... | |
| enum wxSystemColour |
Possible values for wxSystemSettings::GetColour() parameter.
These values map 1:1 the native values supported by the Windows' GetSysColor function. Note that other ports (other than wxMSW) will try to provide meaningful colours but they usually map the same colour to various wxSYS_COLOUR_* values.
| Enumerator | |
|---|---|
| wxSYS_COLOUR_SCROLLBAR | The scrollbar grey area. |
| wxSYS_COLOUR_DESKTOP | The desktop colour. |
| wxSYS_COLOUR_ACTIVECAPTION | Active window caption colour. |
| wxSYS_COLOUR_INACTIVECAPTION | Inactive window caption colour. |
| wxSYS_COLOUR_MENU | Menu background colour. |
| wxSYS_COLOUR_WINDOW | Window background colour. |
| wxSYS_COLOUR_WINDOWFRAME | Window frame colour. |
| wxSYS_COLOUR_MENUTEXT | Colour of the text used in the menus. |
| wxSYS_COLOUR_WINDOWTEXT | Colour of the text used in generic windows. |
| wxSYS_COLOUR_CAPTIONTEXT | Colour of the text used in captions, size boxes and scrollbar arrow boxes. |
| wxSYS_COLOUR_ACTIVEBORDER | Active window border colour. |
| wxSYS_COLOUR_INACTIVEBORDER | Inactive window border colour. |
| wxSYS_COLOUR_APPWORKSPACE | Background colour for MDI applications. |
| wxSYS_COLOUR_HIGHLIGHT | Colour of item(s) selected in a control. |
| wxSYS_COLOUR_HIGHLIGHTTEXT | Colour of the text of item(s) selected in a control. |
| wxSYS_COLOUR_BTNFACE | Face shading colour on push buttons. |
| wxSYS_COLOUR_BTNSHADOW | Edge shading colour on push buttons. |
| wxSYS_COLOUR_GRAYTEXT | Colour of greyed (disabled) text. |
| wxSYS_COLOUR_BTNTEXT | Colour of the text on push buttons. |
| wxSYS_COLOUR_INACTIVECAPTIONTEXT | Colour of the text in inactive captions. |
| wxSYS_COLOUR_BTNHIGHLIGHT | Highlight colour for buttons. |
| wxSYS_COLOUR_3DDKSHADOW | Dark shadow colour for three-dimensional display elements. |
| wxSYS_COLOUR_3DLIGHT | Light colour for three-dimensional display elements. |
| wxSYS_COLOUR_INFOTEXT | Text colour for tooltip controls. |
| wxSYS_COLOUR_INFOBK | Background colour for tooltip controls. |
| wxSYS_COLOUR_LISTBOX | Background colour for list-like controls. |
| wxSYS_COLOUR_HOTLIGHT | Colour for a hyperlink or hot-tracked item. |
| wxSYS_COLOUR_GRADIENTACTIVECAPTION | Right side colour in the colour gradient of an active window's title bar.
|
| wxSYS_COLOUR_GRADIENTINACTIVECAPTION | Right side colour in the colour gradient of an inactive window's title bar.
|
| wxSYS_COLOUR_MENUHILIGHT | The colour used to highlight menu items when the menu appears as a flat menu. The highlighted menu item is outlined with |
| wxSYS_COLOUR_MENUBAR | The background colour for the menu bar when menus appear as flat menus. However, |
| wxSYS_COLOUR_LISTBOXTEXT | Text colour for list-like controls.
|
| wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT | Text colour for the selected items in list-like controls. This colour is supposed to have good contrast with the background drawn by wxRendererNative::DrawItemSelectionRect().
|
| wxSYS_COLOUR_GRIDLINES | Colour of separator lines in grid-like controls. On macOS, this maps to [NSColor gridLines], on other platforms it is currently the same as wxSYS_COLOUR_BTNFACE.
|
| wxSYS_COLOUR_LISTBOXHIGHLIGHT | Background colour of a selected item in a wxListBox or similar control. This colour is usually either identical or close to the main accent or theme colour of the operating system. On macOS, this maps to [NSColor selectedContentBackgroundColor].
|
| wxSYS_COLOUR_BACKGROUND | Synonym for |
| wxSYS_COLOUR_3DFACE | Synonym for |
| wxSYS_COLOUR_3DSHADOW | Synonym for |
| wxSYS_COLOUR_BTNHILIGHT | Synonym for |
| wxSYS_COLOUR_3DHIGHLIGHT | Synonym for |
| wxSYS_COLOUR_3DHILIGHT | Synonym for |
| wxSYS_COLOUR_FRAMEBK | Synonym for On wxMSW this colour should be used as the background colour of wxFrames which are used as containers of controls; this is in fact the same colour used for the borders of controls like e.g. wxNotebook or for the background of e.g. wxPanel.
|
| enum wxSystemFeature |
Possible values for wxSystemSettings::HasFeature() parameter.
| Enumerator | |
|---|---|
| wxSYS_CAN_DRAW_FRAME_DECORATIONS | |
| wxSYS_CAN_ICONIZE_FRAME | |
| wxSYS_TABLET_PRESENT | |
| enum wxSystemFont |
Possible values for wxSystemSettings::GetFont() parameter.
These values map 1:1 the native values supported by the Windows' GetStockObject function. Note that other ports (other than wxMSW) will try to provide meaningful fonts but they usually map the same font to various wxSYS_*_FONT values.
| enum wxSystemMetric |
Possible values for wxSystemSettings::GetMetric() index parameter.
| Enumerator | |
|---|---|
| wxSYS_MOUSE_BUTTONS | Number of buttons on mouse, or zero if no mouse was installed. |
| wxSYS_BORDER_X | Width of single border. |
| wxSYS_BORDER_Y | Height of single border. |
| wxSYS_CURSOR_X | Width of cursor in logical pixels. |
| wxSYS_CURSOR_Y | Height of cursor in logical pixels. |
| wxSYS_CURSOR_SIZE | Width or height of cursor in logical pixels. This is the same as wxSYS_CURSOR_X and wxSYS_CURSOR_Y as cursors are always square.
|
| wxSYS_DCLICK_X | Width in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click. |
| wxSYS_DCLICK_Y | Height in pixels of rectangle within which two successive mouse clicks must fall to generate a double-click. |
| wxSYS_DRAG_X | Width in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. |
| wxSYS_DRAG_Y | Height in pixels of a rectangle centered on a drag point to allow for limited movement of the mouse pointer before a drag operation begins. |
| wxSYS_EDGE_X | Width of a 3D border, in pixels. |
| wxSYS_EDGE_Y | Height of a 3D border, in pixels. |
| wxSYS_HSCROLL_ARROW_X | Width of arrow bitmap on horizontal scrollbar. |
| wxSYS_HSCROLL_ARROW_Y | Height of arrow bitmap on horizontal scrollbar. |
| wxSYS_HTHUMB_X | Width of horizontal scrollbar thumb. |
| wxSYS_ICON_X | The default width of an icon. |
| wxSYS_ICON_Y | The default height of an icon. |
| wxSYS_ICONSPACING_X | Width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged. |
| wxSYS_ICONSPACING_Y | Height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of this size when arranged. |
| wxSYS_WINDOWMIN_X | Minimum width of a window. |
| wxSYS_WINDOWMIN_Y | Minimum height of a window. |
| wxSYS_SCREEN_X | Width of the screen in pixels. |
| wxSYS_SCREEN_Y | Height of the screen in pixels. |
| wxSYS_FRAMESIZE_X | Width of the window frame for a window with wxRESIZE_BORDER. |
| wxSYS_FRAMESIZE_Y | Height of the window frame for a window with wxRESIZE_BORDER. |
| wxSYS_SMALLICON_X | Recommended width of a small icon (in window captions, and small icon view). |
| wxSYS_SMALLICON_Y | Recommended height of a small icon (in window captions, and small icon view). |
| wxSYS_HSCROLL_Y | Height of horizontal scrollbar in pixels. Use wxWindow::GetScrollbarSize() instead of this metric when determining the space taken by the scrollbars of a window. See also wxSYS_HSCROLL_X. |
| wxSYS_VSCROLL_X | Width of vertical scrollbar in pixels. Use wxWindow::GetScrollbarSize() instead of this metric when determining the space taken by the scrollbars of a window. See also wxSYS_HSCROLL_Y. |
| wxSYS_VSCROLL_ARROW_X | Width of arrow bitmap on a vertical scrollbar. |
| wxSYS_VSCROLL_ARROW_Y | Height of arrow bitmap on a vertical scrollbar. |
| wxSYS_VTHUMB_Y | Height of vertical scrollbar thumb. |
| wxSYS_CAPTION_Y | Height of normal caption area. |
| wxSYS_MENU_Y | Height of single-line menu bar. |
| wxSYS_NETWORK_PRESENT | 1 if there is a network present, 0 otherwise. |
| wxSYS_PENWINDOWS_PRESENT | 1 if PenWindows is installed, 0 otherwise. |
| wxSYS_SHOW_SOUNDS | Non-zero if the user requires an application to present information visually in situations where it would otherwise present the information only in audible form; zero otherwise. |
| wxSYS_SWAP_BUTTONS | Non-zero if the meanings of the left and right mouse buttons are swapped; zero otherwise. |
| wxSYS_DCLICK_MSEC | Maximal time, in milliseconds, which may pass between subsequent clicks for a double click to be generated. |
| wxSYS_CARET_ON_MSEC | Time, in milliseconds, for how long a blinking caret should stay visible during a single blink cycle before it disappears. If this value is zero, caret should be visible all the time instead of blinking. If the value is negative, the platform does not support the user setting.
|
| wxSYS_CARET_OFF_MSEC | Time, in milliseconds, for how long a blinking caret should stay invisible during a single blink cycle before it reappears. If this value is zero, caret should be visible all the time instead of blinking. If the value is negative, the platform does not support the user setting.
|
| wxSYS_CARET_TIMEOUT_MSEC | Time, in milliseconds, for how long a caret should blink after a user interaction. After this timeout has expired, the caret should stay continuously visible until the user interacts with the caret again (for example by entering, deleting or cutting text). If this value is negative, carets should blink forever; if it is zero, carets should not blink at all.
|
| enum wxSystemScreenType |
Values for different screen designs.
See wxSystemSettings::GetScreenType().