setMenu

open fun setMenu(menu: Menu?)(source)

Sets the menu as the window's menu bar.