menu

abstract fun menu(title: String, context: MenuCreationContext.() -> Unit): MenuBar.Menu(source)

Adds an item to the menu that will show a child menu.

Parameters

title

of the sub menu

context

for populating the drawer's sub-menus