struct

SF::Event::MouseWheelEvent

Inherits SF::Event / Struct / Value / Object

Mouse wheel events parameters (see MouseWheelMoved)

DEPRECATED: This event is deprecated and potentially inaccurate. Use MouseWheelScrollEvent instead.

Constructors

Instance methods

delta

Number of ticks the wheel has moved (positive is up, negative is down)

Source
delta=(delta : Int)
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
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