Skip to main content

context_menu

Function context_menu 

Source
pub fn context_menu(response: &Response, app: &AppHandle, menu: &MenuId)
Expand description

Opens a declared menu on the widget’s secondary click (or a long touch). Its items are evaluated in the context of the moment it opened, and their commands run in it. It does not open where a widget inside claimed the secondary click (egui_pop_core::pointer::claim).