menu.toggleButtons()

m.toggleButtons(true | false | () )
Makes the buttons of the menu stay down when clicked. Only when the button is clicked again, it will turn up. Programming logic is completely the responsability of the programmer.

Like all functions of this kind, the method can be called in three ways: without a parameter, in which case it returns the actual status as a boolean, or with one parameter: true or false, in which case it sets the status Toggling can be done by
m.toggleButtons ( ! m.toggleButtons() )