PopupMenu.addCheckItem

Add a new checkable item with text "label". An id can optionally be provided, as well as an accelerator. If no id is provided, one will be created from the index. Note that checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually.

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

Meta