Skip to main content

menu_button

Function menu_button 

Source
pub fn menu_button<T, I, O>(id: impl Into<ElementId>, items: I) -> MenuButton<T>
where T: Clone + PartialEq + 'static, I: IntoIterator<Item = O>, O: Into<MenuButtonItem<T>>,
Expand description

Construct a menu button primitive backed by an anchored popup menu.