Menu
Popup menu.
| Module | require("yue.gui") | 
| Type | Class | 
| Inherits | MenuBase | 
Class methods
create(items)
Create a popup menu.
Parameters
tableitems - An array of menu items to be inserted to the menu.
Return
MenuMethods
popup()
Show the popup menu at current mouse position, this method will block until the menu is dismissed.