class | ||||||||||
|
Creates a menu item for including in a menu.
annotation | |
| |
function | |
|
The MenuItem.Shortcut annotation recognizes a
menu-item shortcut key combination in one of the following forms:
a Char;
a KeyEvent.Key; or
a list of modifier symbols ending with a Char or KeyEvent.Key. The following modifier symbols are allowed:
The MenuItem.default_shortcut_prefix function returns the list of modifier symbols that is added for the current platform when just a Char or KeyEvent.Key is provided for a shortcut.
