PopupMenu.addIconCheckItem

Adds a new checkable 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. Note: Checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually. See setItemChecked for more info on how to control it.

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

Meta