|
Uranium
Application Framework
|
Event relating to what's happening with the scroll wheel of a mouse. More...
Public Member Functions | |
| def | __init__ |
| Create a new scroll wheel event. More... | |
| def | horizontal (self) |
| How far the scroll wheel was scrolled horizontally, in eighths of a degree. More... | |
| def | vertical (self) |
| How far the scroll wheel was scrolled vertically, in eighths of a degree. More... | |
Public Member Functions inherited from UM.Event.MouseEvent | |
| def | __init__ |
| Raise a new mouse event. More... | |
| def | x (self) |
| The X coordinate of the event. More... | |
| def | y (self) |
| The Y coordinate of the event. More... | |
| def | lastX (self) |
| The X coordinate of the previous event. More... | |
| def | lastY (self) |
| The Y coordinate of the previous event. More... | |
| def | deltaX (self) |
| The change in X position between this event and the previous event. More... | |
| def | deltaY (self) |
| The change in Y position between this event and the previous event. More... | |
| def | buttons (self) |
| The list of buttons associated with this event. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from UM.Event.MouseEvent | |
| string | LeftButton = "left" |
| Left mouse button. More... | |
| string | RightButton = "right" |
| string | MiddleButton = "middle" |
Event relating to what's happening with the scroll wheel of a mouse.
| def UM.Event.WheelEvent.__init__ | ( | self, | |
| horizontal | |||
| ) |
Create a new scroll wheel event.
| horizontal | How far the scroll wheel scrolled horizontally, in eighths of a degree. To the right is positive. To the left is negative. |
| vertical | How far the scroll wheel scrolled vertically, in eighths of a degree. Up is positive. Down is negative. |
| 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.
| 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.