5.4.3 MouseWheelEvent object

The MouseWheelEvent class is passed as argument whenever the mouse wheel is rotated.

class MouseWheelEvent( delta, x, y, x0, y0)

delta is the wheel delta (usually 120 if the wheel was rotated forward and -120 if the wheel was rotated backward).

x/y is the pixel position of the mouse where 0/0 is the upper left corner.

x0/y0 is the normalized position of the mouse where each component lies in the range [0,1).