Skip to main content

default_keymap

Function default_keymap 

Source
pub fn default_keymap() -> Keymap<Action>
Available on crate feature context-menu only.
Expand description

The default context menu shortcuts: the dropdown menu’s, plus

KeysAction
Shift+F10, MenuAction::Open

The open menu resolves its keys itself; pass a changed keymap with ContextMenu::keymap. While it is closed, only Action::Open does anything, and the app routes it from keys::subscription through State::key_event.