Skip to main content

context_menu

Function context_menu 

Source
pub fn context_menu<'a, Message: Clone + 'a>(
    rows: Vec<MenuRow<Message>>,
    highlighted: Option<usize>,
    scale: FontScale,
    width: f32,
) -> Element<'a, Message>
Expand description

The menu itself: the floating list’s surface (sidebar, a 1px card_border, inner_radius), one row per item. highlighted is the row the keyboard is on, lit the way the pointer lights one.