Function 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.