Function add_quick_access_context_menu

Source
pub fn add_quick_access_context_menu(
    identifier: impl AsRef<str>,
    target_identifier: Option<impl AsRef<str>>,
    render_callback: RawGuiRender,
) -> Revertible<impl Fn() + Send + Sync + Clone + 'static>
Expand description

Adds a new RawGuiRender callback for the shortcut context menu.

Returns a Revertible to remove the context menu.