Function 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).
void setItemDisabled
(
const(long) idx,
const(bool) disabled
) nothrow @nogc;