Menu

open external class Menu : Menu(source)

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

A MenuItem[] array containing the menu's items.

Link copied to clipboard

Functions

Link copied to clipboard
fun append(menuItem: MenuItem)

Appends the menuItem to the menu.

Link copied to clipboard
fun closePopup(browserWindow: BrowserWindow = definedExternally)

Closes the context menu in the browserWindow.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

the item with the specified id

Link copied to clipboard
fun insert(pos: Double, menuItem: MenuItem)

Inserts the menuItem to the pos position of the menu.

Link copied to clipboard
fun popup(options: PopupOptions = definedExternally)

Pops up this menu as a context menu in the BrowserWindow.

Link copied to clipboard