menu

fun MenuBar.menu(title: String, style: String = defaultStyle, init: PopupMenu.() -> Unit = {}): Menu

Adds new Menu to this MenuBar.

Parameters

title

title of the Menu.

style

name of the Menu.MenuStyle.

init

allows to customize the Menu.