Uranium
Application Framework
UM.Event.WheelEvent Class Reference
Inheritance diagram for UM.Event.WheelEvent:
UM.Event.MouseEvent

Public Member Functions

def __init__
 
def horizontal (self)
 
def vertical (self)
 
- Public Member Functions inherited from UM.Event.MouseEvent
def __init__
 
def x (self)
 
def y (self)
 
def lastX (self)
 
def lastY (self)
 
def deltaX (self)
 
def deltaY (self)
 
def buttons (self)
 

Additional Inherited Members

- Static Public Attributes inherited from UM.Event.MouseEvent
string LeftButton = "left"
 
string RightButton = "right"
 
string MiddleButton = "middle"
 

Detailed Description

Event relating to what's happening with the scroll wheel of a mouse.

Member Function Documentation

◆ horizontal()

def UM.Event.WheelEvent.horizontal (   self,
  int 
)
How far the scroll wheel was scrolled horizontally, in eighths of a
degree.

To the right is positive. To the left is negative.

◆ vertical()

def UM.Event.WheelEvent.vertical (   self,
  int 
)
How far the scroll wheel was scrolled vertically, in eighths of a
degree.

Up is positive. Down is negative.

The documentation for this class was generated from the following file: