context_menu

Function context_menu 

Source
pub fn context_menu(child: impl IntoUiNode, menu: impl IntoUiNode) -> UiNode
Expand description

P Defines the context menu shown when the widget is enabled and receives a context click.

The menu can be any widget, the ContextMenu! is recommended. The menu widget is open using POPUP and is expected to close itself when the context action is finished or it loses focus.