SysMenuBar.shortcut

void shortcut(int index, int shortcut)

Sets the shortcut of a menu item.

Parameters

indexIndex of item
shortcutNew shortcut