egui::menu

Function context_menu

Source
pub(crate) fn context_menu(
    response: &Response,
    add_contents: impl FnOnce(&mut Ui),
) -> Option<InnerResponse<()>>
Expand description

Response to secondary clicks (right-clicks) by showing the given menu.