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.

struct PopupMenu
@nogc nothrow
void
setItemAsCheckable
(
in long idx
,
in bool enable
)

Meta