addMenu()
Add a Menu to the display's menu bar.
Menus appear horizontally along the top of the display, for example "File" then "Edit".
Parameters
Once an object display has been created, you can use the following function:
display.addMenu(menu)
| Parameter | Type | Default | Description |
|---|---|---|---|
menu |
Menu |
required | The menu to add. |