QuitMenuItem Class
The Quit menu item is derived from the QuitMenuItem class.
More information available in parent classes: MenuItem:Object
Since this class is based on MenuItem, please see that class for information on its Properties, Methods, and Events.
Notes
The Quit menu item that is added by default to all applications is an instance of the QuitMenuItem class. It differs from menu items derived from the MenuItem class in that it is enabled by default and automatically calls the Quit method to quit the application. Thus, there is no need to enable the menu item via code or write its handler.
Examples
You normally have no need to create additional instances of the QuitMenuItem class, but you can use its properties to modify the default appearance or behaviour of the Quit menu item.
See Also
EnableMenuItems function; New operator; AppleMenuItem, MenuItem, PrefsMenuItem classes.