Skip to content

MouseScrollArguments

Structure Class

MouseScrollArguments dataclass

Bases: _SerdeShape

Arguments for a mouse scroll action.

Attributes

delta_x class-attribute instance-attribute
delta_x: int | None = ...

The horizontal scroll delta. Valid range: -1000 to 1000.

delta_y class-attribute instance-attribute
delta_y: int | None = ...

The vertical scroll delta. Valid range: -1000 to 1000. Negative values scroll down.

x instance-attribute
x: int

The X coordinate on screen where the scroll occurs.

y instance-attribute
y: int

The Y coordinate on screen where the scroll occurs.