MenuButton.setPrimary

void setPrimary(bool primary)

Sets whether menu button acts as a primary menu.

Primary menus can be opened with the <kbd>F10</kbd> key.

Parameters

primarywhether the menubutton should act as a primary menu