Skip to main content

checkbox

Function checkbox 

Source
pub fn checkbox(
    input: &InputState,
    ui: &mut UiState,
    theme: &UiTheme,
    label: &str,
    position: Vec2,
    checked: &mut bool,
) -> UiInteraction
Expand description

Draw a checkbox and return whether it’s checked.