tornadofx / tornadofx / javafx.event.EventTarget / lazyContextmenu

lazyContextmenu

fun EventTarget.lazyContextmenu(op: ContextMenu.() -> Unit = {}): <ERROR CLASS>

Add a context menu to the target which will be created on demand.