Function PopupMenu.setHideOnWindowLoseFocus

Hides the PopupMenu when the window loses focus.

void setHideOnWindowLoseFocus (
  const(bool) enable
) nothrow @nogc;