Home | Trees | Indices | Help |
|
---|
|
Raised when a mouse-related event occurs.
Instance Methods | |||
Inherited from Inherited from |
|||
Inherited from Event | |||
---|---|---|---|
|
Properties | |
button The button that caused the event (ro). |
|
cursorid Always -1 for mouse events, but can be used to handle mouse and tracking events at once (ro). |
|
lastdownpos The position of the last mouse down event with the same button. |
|
leftbuttonstate | |
middlebuttonstate | |
node The node that the event handler was declared in (ro). |
|
pos Position in the global coordinate system (ro). |
|
rightbuttonstate | |
source Always MOUSE |
|
speed Current speed of the mouse in pixels per millisecond as a 2-component vector (ro). |
|
x x position in the global coordinate system (ro). |
|
y y position in the global coordinate system (ro). |
|
Inherited from |
|
Inherited from Event | |
---|---|
type One of KEYUP, KEYDOWN, CURSORMOTION, CURSORUP, CURSORDOWN, CURSOROVER, CURSOROUT, RESIZE or QUIT. |
|
when The timestamp of the event in milliseconds. |
Property Details |
buttonThe button that caused the event (ro).
|
cursoridAlways -1 for mouse events, but can be used to handle mouse and tracking events at once (ro).
|
lastdownposThe position of the last mouse down event with the same button. Useful for implementing dragging (ro).
|
leftbuttonstate
|
middlebuttonstate
|
nodeThe node that the event handler was declared in (ro).
|
posPosition in the global coordinate system (ro).
|
rightbuttonstate
|
sourceAlways MOUSE
|
speedCurrent speed of the mouse in pixels per millisecond as a 2-component vector (ro).
|
xx position in the global coordinate system (ro).
|
yy position in the global coordinate system (ro).
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jan 8 16:09:00 2010 | http://epydoc.sourceforge.net |