Menu
A MenuItem[] array containing the menu's items.
MenuItem[]
Appends the menuItem to the menu.
menuItem
Closes the context menu in the browserWindow.
browserWindow
the item with the specified id
id
Inserts the menuItem to the pos position of the menu.
pos
Pops up this menu as a context menu in the BrowserWindow.
BrowserWindow