FabGL
ESP32 Display Controller and Graphics Library

◆ setFocusedWindow()

uiWindow * setFocusedWindow ( uiWindow value)

Sets 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()).

Returns
Previous focused window

Definition at line 705 of file fabui.cpp.