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