addMenu()
Add a menu to the display's menu bar.
display.addMenu(menu)
Menus appear left to right along the top of the display, for example "File" then "Edit".
Parameters
display.addMenu(menu)
| Parameter | Type | Default | Description |
|---|---|---|---|
menu |
Menu |
required | The menu to add. |