Function ItemList.setItemSelectable

Allows or disallows selection of the item associated with the specified index.

void setItemSelectable (
  const(long) idx,
  const(bool) selectable
) nothrow @nogc;