klyn.gui.events.MouseWheelEvent.MouseWheelEvent
constructor

    public MouseWheelEvent(source as Object, x as Int, y as Int, deltaX as Int = 0, deltaY as Int = 0, alt as Boolean = false, control as Boolean = false, shift as Boolean = false):

Description

Creates a mouse wheel event payload.

Parameters

Parameter | Description
--- | ---
`source` | Widget under the pointer.
`x` | Window-client x coordinate.
`y` | Window-client y coordinate.
`deltaX` | Horizontal wheel delta.
`deltaY` | Vertical wheel delta.

Example

    event = MouseWheelEvent(widget, 10, 20, 0, -120)