onClick
abstract fun onClick(mouseX: Double, mouseY: Double, isMouseOver: Boolean, button: Int): PopupWidget.ClickResult
Apply a click and return a result.
Return
ClickResult for the action.
Author
fzzyhmstrs
Since
0.6.0
Parameters
mouseX
Double - x position of the mouse click
mouseY
Double - y position of the mouse click
isMouseOver
whether the click is over this popup or missing it
button
Int code of the button click