CheckMenuItemOptions

Options for creating a new check menu item.

Properties

Link copied to clipboard
abstract external var accelerator: String?

Specify an accelerator (keyboard shortcut) for the new menu item, for example 'CmdOrCtrl+Shift+K'.

Link copied to clipboard
abstract external var action: (id: String) -> Unit?

Specify a handler to be called when this menu item is activated.

Link copied to clipboard
abstract external var checked: Boolean?

Whether the new check menu item is enabled or not.

Link copied to clipboard
abstract external var enabled: Boolean?

Whether the new menu item is enabled or not.

Link copied to clipboard
abstract external var id: String?

Specify an id to use for the new menu item.

Link copied to clipboard
abstract external var text: String

The text of the new menu item.