FabGL
ESP32 Display Controller and Graphics Library

◆ focusedWindow()

uiWindow* focusedWindow ( )
inline

Gets the focused window (control)

There is only one focused window or control at the time. Focused window is also the active window (or its parent is the active window). Focused window receives (along with active window) all keyboard events. Focused window can have a blinking caret. Finally, a focused window partecipates to the TAB "trip", respecting the tab-order (see uiWindow.focusIndex()).

To set the focoused window use uiApp.setFocusedWindow().

Returns
Focused window or nullptr if there isn't one

Definition at line 2671 of file fabui.h.