Skip to main content

shortcut

Function shortcut 

Source
pub fn shortcut(key: impl Into<Key>) -> Shortcut
Expand description

A key to press, for a list_item’s or a button’s shortcut, or to show with keys: shortcut('1'), shortcut('k').ctrl().