registerActionPerformed

fun registerActionPerformed(method: Any): RegularTrigger?

Registers a method to be run while gui is open. Registered method runs when an action is performed (clicking a button) Arguments passed through to method:

  • the button that is clicked

Return

the trigger

Parameters

method

the method to run

Sources

Link copied to clipboard