Skip to main content

default_keymap

Function default_keymap 

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

The default timeline shortcuts:

KeysAction
ArrowLeftAction::Previous
ArrowRightAction::Next
Shift+ArrowLeft, PageUpAction::PageBack
Shift+ArrowRight, PageDownAction::PageForward
HomeAction::First
EndAction::Last

The timeline resolves them itself while it has keyboard focus or was the last thing pressed. Pass a changed keymap with Timeline::keymap.