struct

SF::Event::MouseWheelScrollEvent

Inherits SF::Event / Struct / Value / Object

Mouse wheel events parameters (see MouseWheelScrolled)

Constructors

Instance methods

delta

Wheel offset (positive is up/left, negative is down/right). High-precision mice may use non-integral offsets.

Source
delta=(delta : Number)
Source
dup

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

Source
wheel

Which wheel (for mice with multiple ones)

Source
wheel=(wheel : Mouse::Wheel)
Source
x

X position of the mouse pointer, relative to the left of the owner window

Source
x=(x : Int)
Source
y

Y position of the mouse pointer, relative to the top of the owner window

Source
y=(y : Int)
Source