Skip to main content

menu_selectable

Function menu_selectable 

Source
pub fn menu_selectable(
    label: impl Into<String>,
    value: impl Into<String>,
) -> MenuSelectable
Expand description

A radio-style row labelled label, reporting value when chosen.

Controlled, like every selection control in this catalog: the row reports the requested value and never flips its own selected — hand the panel the confirmed value through MenuPanelView::selected (or MenuView::selected) on the next rebuild.