IconMenuItemOptions

Options for creating a new icon menu item.

Properties

Link copied to clipboard
abstract var accelerator: String?

Specify an accelerator for the new menu item.

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

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

Link copied to clipboard
abstract var enabled: Boolean?

Whether the new menu item is enabled or not.

Link copied to clipboard
abstract var icon: MenuIcon?

Icon to be used for the new icon menu item.

Link copied to clipboard
abstract var id: String?

Specify an id to use for the new menu item.

Link copied to clipboard
abstract var text: String

The text of the new menu item.