Package pyhook :: Module HookManager :: Class MouseEvent
[hide private]
[frames] | no frames]

Class MouseEvent

source code

object --+    
         |    
 HookEvent --+
             |
            MouseEvent

Holds information about a mouse event.

Instance Methods [hide private]
 
__init__(self, msg, x, y, data, flags, time, hwnd, window_name)
Initializes an instance of the class.
source code

Inherited from HookEvent: GetMessageName

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

Class Variables [hide private]

Inherited from HookEvent: MessageName

Instance Variables [hide private]
boolean Injected
Was this event generated programmatically?
2-tuple of integer Position
Location of the mouse event on the screen
integer Wheel
Positive if the wheel scrolls up, negative if down, zero otherwise

Inherited from HookEvent: Message, Time, Window, WindowName

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg, x, y, data, flags, time, hwnd, window_name)
(Constructor)

source code 

Initializes an instance of the class.

Overrides: object.__init__