setMenu

fun setMenu(menu: Menu?)(source)

Sets the menu as the window's menu bar.