Uranium
Application Framework
|
Public Member Functions | |
None | __init__ (self, int horizontal, int vertical, int x=0, int y=0) |
int | horizontal (self) |
int | vertical (self) |
![]() | |
int | x (self) |
int | y (self) |
Optional[int] | lastX (self) |
Optional[int] | lastY (self) |
int | deltaX (self) |
int | deltaY (self) |
List[str] | buttons (self) |
Protected Attributes | |
_horizontal | |
_vertical | |
![]() | |
_x | |
_y | |
_last_x | |
_last_y | |
_buttons | |
Additional Inherited Members | |
![]() | |
str | LeftButton = "left" |
str | RightButton = "right" |
str | MiddleButton = "middle" |
Event relating to what's happening with the scroll wheel of a mouse.
None UM.Event.WheelEvent.__init__ | ( | self, | |
int | horizontal, | ||
int | vertical, | ||
int | x = 0, | ||
int | y = 0 ) |
Create a new scroll wheel event. :param horizontal: How far the scroll wheel scrolled horizontally, in eighths of a degree. To the right is positive. To the left is negative. :param vertical: How far the scroll wheel scrolled vertically, in eighths of a degree. Up is positive. Down is negative.
Reimplemented from UM.Event.MouseEvent.
int UM.Event.WheelEvent.horizontal | ( | self | ) |
How far the scroll wheel was scrolled horizontally, in eighths of a degree. To the right is positive. To the left is negative.
int UM.Event.WheelEvent.vertical | ( | self | ) |
How far the scroll wheel was scrolled vertically, in eighths of a degree. Up is positive. Down is negative.