onContextMenuRequested
fun Node.onContextMenuRequested(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(ContextMenuEvent) -> Unit)
See also
Node.setOnContextMenuRequested
fun Scene.onContextMenuRequested(context: CoroutineContext = Dispatchers.JavaFx, action: suspend CoroutineScope.(ContextMenuEvent) -> Unit)
See also
Scene.setOnContextMenuRequested