Egui::Focus
Inherits Reference < Object
egui Focus (memory/mod.rs): which widget owns the keyboard.
begin_frame lags one frame (id_previous_frame) — that is the
dead-man's switch: if the focused widget stops being created, focus
drops instead of pointing at a stale id.
Arrow locks (upstream FocusLockFilter): a focused slider/drag
value claims the arrows in its own direction so navigation skips
them; latched one frame like the focus id itself. A focused widget
can additionally claim the WHOLE keyboard (upstream EventFilter
— a terminal passes Tab/arrows to its child process): focus
navigation (Tab cycling, geometric arrows) stands down entirely
while the lock is held.
Constructors
Instance methods
Keep-alive (called by interact for the currently focused focusable): never overrides a pending navigation request made this frame.
Claim every navigation key (Tab, arrows) for the focused widget — e.g. a terminal emulator forwarding them to its child process.