skrypton-api / com.waicool20.skrypton.jni.objects / SKryptonWidget / addOnWheelEventListener

addOnWheelEventListener

fun addOnWheelEventListener(listener: (event: SKryptonWheelEvent) -> Unit): Unit

Adds a listener for when a mouse wheel event occurs on this widget.

Parameters

listener - Listener used to receive this event. This lambda receives a variable event which contains event details.