onMouse

open override fun onMouse(event: CustomWidget.MouseEvent): Boolean

Handles mouse click events for custom widgets. Override this or onPress for handling mouse inputs.

Return

whether handling was successful or not

Author

fzzyhmstrs

Since

0.7.3

Parameters

event

MouseEvent click information to use during handling