Documentation
¶
Overview ¶
Package focus demonstrates a screen with multiple components and tab/shift-tab focus cycling. Only the focused component receives keystrokes; the others sit dim with their inactive border color.
The pattern is: keep an int focus index, intercept tab/shift-tab in Update, call Blur on every component and Focus on the active one, and forward all other messages to the focused component only — otherwise typing in the input would also move list cursors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.