Function PopupMenu.addShortcut
Adds a ShortCut.
An id can optionally be provided. If no id is provided, one will be created from the index.
void addShortcut
(
ShortCut shortcut,
const(long) id = -1L,
const(bool) global = false
) nothrow @nogc;