Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Nottui.FocusSourceA handle represents a primitive area that can request, receive and lose the focus. A visible UI is made of many handles, of which at most one can be active.
status represents the state in which a handle can be. Externally we care about having or not the focus, which can be queried with the has_focus function. Internally, status also keeps track of conflicts (if multiple handles requested the focus).
Get the status of a focus handle. The status is a reactive value: it will evolve over time, as focus is received or lost.
TODO This implements a more general concept of "reactive auction":