Function PopupMenu.setItemAsSeparator

Mark the item at index idx as a separator, which means that it would be displayed as a line. If false, sets the type of the item to plain text.

void setItemAsSeparator (
  const(long) idx,
  const(bool) enable
) nothrow @nogc;