setDynamicAction

fun setDynamicAction(trigger: MouseTriggerAction, job: (MouseEvent) -> Unit)

Set a dynamic action.

Parameters

trigger

the trigger for the action

job

the job that will be run when the action occurs