PopupMenu.addIconShortcut

Adds a new item and assigns the specified ShortCut and icon texture to it. Sets the label of the checkbox to the ShortCut's name. An id can optionally be provided. If no id is provided, one will be created from the index.

struct PopupMenu
@nogc nothrow
void
addIconShortcut
(,,
in long id = -1
,
in bool global = false
)

Meta