Uranium
Application Framework
|
Public Member Functions | |
def | __init__ |
def | x (self) |
def | y (self) |
def | lastX (self) |
def | lastY (self) |
def | deltaX (self) |
def | deltaY (self) |
def | buttons (self) |
Static Public Attributes | |
string | LeftButton = "left" |
string | RightButton = "right" |
string | MiddleButton = "middle" |
Mouse Event class. This class represents a mouse event. It has properties corresponding to important mouse event properties and constants for mouse buttons.
def UM.Event.MouseEvent.buttons | ( | self, | |
List, | |||
str | |||
) |
The list of buttons associated with this event.
def UM.Event.MouseEvent.deltaX | ( | self, | |
int | |||
) |
The change in X position between this event and the previous event.
def UM.Event.MouseEvent.deltaY | ( | self, | |
int | |||
) |
The change in Y position between this event and the previous event.
def UM.Event.MouseEvent.lastX | ( | self, | |
Optional, | |||
int | |||
) |
The X coordinate of the previous event.
def UM.Event.MouseEvent.lastY | ( | self, | |
Optional, | |||
int | |||
) |
The Y coordinate of the previous event.
def UM.Event.MouseEvent.x | ( | self, | |
int | |||
) |
The X coordinate of the event.
def UM.Event.MouseEvent.y | ( | self, | |
int | |||
) |
The Y coordinate of the event.