MenuBarIHandlerSetQuitItem Method |
Gets or sets the quit item for the application.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax void SetQuitItem(
MenuItem item
)
Sub SetQuitItem (
item As MenuItem
)
abstract SetQuitItem :
item : MenuItem -> unit
Parameters
- item
- Type: Eto.FormsMenuItem
[Missing <param name="item"/> documentation for "M:Eto.Forms.MenuBar.IHandler.SetQuitItem(Eto.Forms.MenuItem)"]
Field Value
Type:
The quit item on the menu.
Remarks
This allows you to set the quit item for the application. Some platforms (OS X) may add a quit item
to the menu even if one is not defined as it is standard practice to allow users to quit the application with
a menu item.
This will be in the File menu for most platforms, and the Application menu for OS X.
See Also