Function MenuButton.switchOnHover

If true, when the cursor hovers above another MenuButton within the same parent which also has switch_on_hover enabled, it will close the current MenuButton and open the other one.

bool switchOnHover() nothrow @property @nogc;

void switchOnHover (
  bool v
) nothrow @property @nogc;