Skip to main content

select_items

Function select_items 

Source
pub fn select_items(
    ui: &mut Ui<'_>,
    label: &str,
    items: &[MenuItem],
    current: Option<usize>,
) -> Key
Expand description

select over items the caller built: their labels are the rows, their ids what a choice posts, and the currentth is drawn checked whatever the item said. A separator is a separator here too.