Package pajammin :: Module input :: Class MouseDragStartListener
[show private | hide private]
[frames | no frames]

Class MouseDragStartListener

        Listener --+        
                   |        
_MouseButtonListener --+    
                       |    
 _MouseClickDragListener --+
                           |
                          MouseDragStartListener


An event listener that reports when mouse dragging starts.

The event passed to the callback will define a button field, specifying which mouse button was pressed, and a pos field, specifying the location at which the button was pressed.
Method Summary
    Inherited from _MouseClickDragListener
  is_relevant(self, event)
Return true if this listener's callback should be notified about the given event.
    Inherited from _MouseButtonListener
  __init__(self, callback, cbdata, priority, button, buttons, rect)
    Inherited from Listener
  __cmp__(self, other)
  handle(self, event)
  start(self)
  stop(self)

Class Variable Summary
str subevent_type = 'dragstart'
    Inherited from _MouseButtonListener
NoneType event_type = None                                                                  

Class Variable Details

subevent_type

Type:
str
Value:
'dragstart'