MenuButton.getPrimary

bool getPrimary() nothrow

Returns whether the menu button acts as a primary menu.

Returns

true if the button is a primary menu