Skip to main content

Module button_group

Module button_group 

Source
Expand description

Exclusive settings and page navigation with one keyboard stop per group.

Functionsยง

button_group
A single-choice setting rendered as content-sized segments in a shared frame. The application owns selected and updates it in on_change. Left/Right (or h/l) move the cursor; Return/Space commit the choice.
tab_list
A page tab list with the same restrained visual language and independent tab-list semantics. Use the selected value to render the associated panel. show_shortcuts renders one-based number hints; applications own key bindings.