|
Uranium
Application Framework
|
Event relating to what's happening with the scroll wheel of a mouse. More...
Inherits UM.Event.Event.
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... | |
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.