PopupMenu.addItem

Add a new item with text "label". 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
addItem
(
StringArg0
)
(
in StringArg0 label
,
in long id = -1
,
in long accel = 0
)

Meta