Package scripts :: Package common :: Package listeners :: Script mouse_listener :: Class MouseListener
[hide private]
[frames] | no frames]

Class MouseListener

object --+
         |
        MouseListener

Base class for listeners receiving mouse input

Instance Methods [hide private]
 
__init__(self, event_listener)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
attach(self, event_listener)
Attaches the listener to the event
 
detach(self)
Detaches the listener from the event
 
mouseClicked(self, evt)
Called after a mouse button is pressed and released
 
mouseDragged(self, evt)
Called when dragging the mouse
 
mouseEntered(self, evt)
Called when a mouse enters a region
 
mouseExited(self, evt)
Called when a mouse exits a region
 
mouseMoved(self, evt)
Called when when the mouse has been moved
 
mousePressed(self, evt)
Called when a mouse button is pressed
 
mouseReleased(self, evt)
Called when a mouse button is released
 
mouseWheelMovedDown(self, evt)
Called when the mouse wheel has been moved down
 
mouseWheelMovedUp(self, evt)
Called when the mouse wheel has been moved up

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, event_listener)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)