fractal::utils::key_bindings

Function add_context_menu_bindings

Source
pub(crate) fn add_context_menu_bindings<T: WidgetClassExt>(
    klass: &mut T,
    action: &str,
)
Expand description

Add key bindings to the given class to trigger the given action to show a context menu.