Function PopupMenu.setItemAsCheckable
Sets whether the item at index idx
has a checkbox. If false
, sets the type of the item to plain text.
Note: Checkable items just display a checkmark, but don't have any built-in checking behavior and must be checked/unchecked manually.
void setItemAsCheckable
(
const(long) idx,
const(bool) enable
) nothrow @nogc;