ItemList.setItemDisabled

Disables (or enables) the item at the specified index. Disabled items cannot be selected and do not trigger activation signals (when double-clicking or pressing Enter).

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

Meta