Skip to main content

radio

Function radio 

Source
pub fn radio(
    ui: &mut Ui<'_>,
    text: &str,
    checked: bool,
    payload: impl Into<Value>,
) -> Key
Expand description

A radio labelled text, keyed by it; see checkbox. Radios belong in a radio_group_with, whose arrows move the choice.