PopupMenu.addIconItem

Adds a new item with text label and icon texture. An id can optionally be provided, as well as an accelerator (accel). If no id is provided, one will be created from the index. If no accel is provided then the default 0 will be assigned to it. See getItemAccelerator for more info on accelerators.

struct PopupMenu
@nogc nothrow
void
addIconItem
(,
in String label
,
in long id = -1
,
in long accel = 0
)

Meta