Function TabContainer.setTabDisabled

If disabled is false, hides the tab at index tab_idx. Note: Its title text will remain, unless also removed with setTabTitle.

void setTabDisabled (
  const(long) tab_idx,
  const(bool) disabled
) nothrow @nogc;