Function cosmic::widget::context_menu
source ยท pub fn context_menu<'a, Message: 'a>(
content: impl Into<Element<'a, Message>> + 'a,
context_menu: Option<Vec<Tree<'a, Message>>>,
) -> ContextMenu<'a, Message>
Expand description
A context menu is a menu in a graphical user interface that appears upon user interaction, such as a right-click mouse operation.