PopupMenu.addIconItem

Add a new item with text "label" and icon "texture". An id can optionally be provided, as well as an accelerator keybinding. If no id is provided, one will be created from the index.

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

Meta