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

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"
 

Detailed Description

Mouse Event class.

This class represents a mouse event. It has properties corresponding to important mouse
event properties and constants for mouse buttons.

Member Function Documentation

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.

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