Function add_simple_shortcut

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

Adds a new RawGuiRender callback fired when the quick access is right-clicked.

Returns a Revertible to remove the shortcut.