StylishMenuItem

data class StylishMenuItem(val label: String, val onClick: () -> Unit, val enabled: Boolean = true)

An action item shared by context menus and menubars.

Constructors

Link copied to clipboard
constructor(label: String, onClick: () -> Unit, enabled: Boolean = true)

Properties

Link copied to clipboard

Whether the action accepts input.

Link copied to clipboard

Text shown for the action.

Link copied to clipboard
val onClick: () -> Unit

Callback invoked when the action is selected.