FabGL
ESP32 Display Controller and Graphics Library

◆ activeWindow()

uiWindow * activeWindow ( )
inline

Gets a pointer to the currently active window.

There is only one active window at the time. Active window is the foreground window and receives (along with focused control) all keyboard events. To set the active window call uiApp.setActiveWindow().

Returns
The active window, or nullptr if there isn't one

Definition at line 3195 of file fabui.h.