Skip to main content

radio_value

Function radio_value 

Source
pub fn radio_value<'a, V: PartialEq>(
    ui: &mut Ui,
    current: &mut V,
    alternative: V,
    atoms: impl IntoAtoms<'a>,
) -> Response
Expand description

A radio button setting current to alternative when clicked: ui.radio_value, drawn through the kit.

Need (input): one choice among a few (radio buttons).