MenuButton.getPrimary

Returns whether the menu button acts as a primary menu.

class MenuButton
bool
getPrimary
()

Return Value

Type: bool

true if the button is a primary menu