Skip to main content

menu

Function menu 

Source
pub fn menu(id: &str, title: Option<&str>, items: &[MenuItem], at: Rect) -> El
Expand description

A context menu / command list as a position: fixed box at at (viewport coordinates; see popover_at). Enabled items are hits {id}:item:{i} (i counts separators too, so it is the index into items).