PopupMenu.setItemDisabled

Enables/disables the item at index idx. When it is disabled, it can't be selected and its action can't be invoked.

struct PopupMenu
@nogc nothrow
void
setItemDisabled
(
in long idx
,
in bool disabled
)

Meta