Function context_menu

Source
pub fn context_menu(
    response: &Response,
    add_contents: impl FnOnce(&mut Ui),
) -> Option<InnerResponse<()>>
👎Deprecated: Use egui::containers::menu instead
Expand description

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