tornadofx / tornadofx / javafx.scene.control.Menu / customitem

customitem

fun Menu.customitem(keyCombination: KeyCombination? = null, hideOnClick: Boolean = true, op: CustomMenuItem.() -> Unit = {}): <ERROR CLASS>

Create a CustomMenuItem. You must provide a builder inside the CustomMenuItem or assign to the content property of the item. The item action is configured with the action builder.