Menu
An item in a MenuBar. When you click on the Menu a PopupMenu appears, containing items.
NOTE, this is very similar to MenuButton, but MenuButtons live outside of MenuBars, and look like a regular Button, with the addition of an arrow on the right hand side.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An event handler which is performed after the button is clicked, but before the popup menu is built.
Link copied to clipboard
Set to true, after the menu is clicked, and before the popup menu is displayed. Reset to false when the menu is closed.
Functions
Link copied to clipboard
fun onShowing(handlerCombination: HandlerCombination = HandlerCombination.AFTER, block: (event: ActionEvent) -> Unit)
Add an event handler which is performed after the button is clicked, but before the popup menu is built.