Classes | |
struct | wxVisualAttributes |
Struct containing all the visual attributes of a control. More... | |
class | wxWindow |
wxWindow is the base class for all windows and represents any visible object on screen. More... | |
class | wxWindow::ChildrenRepositioningGuard |
Helper for ensuring EndRepositioningChildren() is called correctly. More... | |
Functions | |
wxWindow * | wxFindWindowAtPointer (wxPoint &pt) |
Find the deepest window at the mouse pointer position, returning the window and current pointer position in screen coordinates. More... | |
wxWindow * | wxGetActiveWindow () |
Gets the currently active window (implemented for MSW and GTK only currently, always returns NULL in the other ports). More... | |
wxWindow * | wxGetTopLevelParent (wxWindow *window) |
Returns the first top level parent of the given window, or in other words, the frame or dialog containing it, or NULL. More... | |
anonymous enum |
Values for wxWindow::EnableTouchEvents() mask.
The values other than wxTOUCH_NONE and wxTOUCH_ALL_GESTURES can be combined together to request enabling events for the specified gestures and for them only.
Enumerator | |
---|---|
wxTOUCH_NONE | Don't generate any touch events. |
wxTOUCH_VERTICAL_PAN_GESTURE | Generate wxPanGestureEvent for vertical pans. Note that under macOS horizontal pan events are also enabled when this flag is specified. |
wxTOUCH_HORIZONTAL_PAN_GESTURE | Generate wxPanGestureEvent for horizontal pans. Note that under macOS vertical pan events are also enabled when this flag is specified. |
wxTOUCH_PAN_GESTURES | Generate wxPanGestureEvent for any pans. This is just a convenient combination of wxTOUCH_VERTICAL_PAN_GESTURE and wxTOUCH_HORIZONTAL_PAN_GESTURE. |
wxTOUCH_ZOOM_GESTURE | Generate wxZoomGestureEvent. |
wxTOUCH_ROTATE_GESTURE | Generate wxRotateGestureEvent. |
wxTOUCH_PRESS_GESTURES | Generate events for press or tap gestures such as wxTwoFingerTapEvent, wxLongPressEvent and wxPressAndTapEvent. |
wxTOUCH_ALL_GESTURES | Enable all supported gesture events. |
enum wxShowEffect |
Valid values for wxWindow::ShowWithEffect() and wxWindow::HideWithEffect().
Enumerator | |
---|---|
wxSHOW_EFFECT_NONE | No effect, equivalent to normal wxWindow::Show() or Hide() call.
|
wxSHOW_EFFECT_ROLL_TO_LEFT | Roll window to the left. |
wxSHOW_EFFECT_ROLL_TO_RIGHT | Roll window to the right. |
wxSHOW_EFFECT_ROLL_TO_TOP | Roll window to the top. |
wxSHOW_EFFECT_ROLL_TO_BOTTOM | Roll window to the bottom. |
wxSHOW_EFFECT_SLIDE_TO_LEFT | Slide window to the left. |
wxSHOW_EFFECT_SLIDE_TO_RIGHT | Slide window to the right. |
wxSHOW_EFFECT_SLIDE_TO_TOP | Slide window to the top. |
wxSHOW_EFFECT_SLIDE_TO_BOTTOM | Slide window to the bottom. |
wxSHOW_EFFECT_BLEND | Fade in or out effect. |
wxSHOW_EFFECT_EXPAND | Expanding or collapsing effect. |
wxSHOW_EFFECT_MAX |
enum wxWindowVariant |
Different window variants, on platforms like eg mac uses different rendering sizes.
Find the deepest window at the mouse pointer position, returning the window and current pointer position in screen coordinates.
Include file:
#include <wx/window.h>
wxWindow* wxGetActiveWindow | ( | ) |
Gets the currently active window (implemented for MSW and GTK only currently, always returns NULL in the other ports).
Include file:
#include <wx/window.h>