ReadonlycloseThe close and cleanup semantic command.
ReadonlyconsoleThe console creator semantic command.
ReadonlyisReadonlyitemsA read-only array of the menu items in the menu.
ReadonlynewA submenu for creating new files/launching new activities.
Option to add a Quit entry in the File menu
Optional ReadonlyrankMenu rank
Add a group of menu items specific to a particular plugin.
The rank can be set for all items in the group using the function argument or per item.
the list of menu items to add.
Optionalrank: numberthe default rank in the menu in which to insert the group.
Disposable of the group
Add a menu item to the end of the menu.
The options for creating the menu item.
The disposable menu item added to the menu.
Dispose of the resources held by the object.
If the object's dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
An interface for a File menu.