Skip to main content

dropdown_control

Function dropdown_control 

Source
pub fn dropdown_control<O, V, W>(
    key: &'static str,
    options: O,
    value: V,
    write: W,
) -> Control
where O: Fn(&App) -> Vec<(SharedString, SharedString)> + 'static, V: Fn(&App) -> String + 'static, W: Fn(String, &mut App) + 'static,
Expand description

A dropdown control built from (value, label) pairs.