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

Type MouseEvent

object --+    
         |    
 HookEvent --+
             |
            MouseEvent


Holds information about a mouse event.
Method Summary
  __init__(self, msg, x, y, data, flags, time, hwnd, window_name)
Initializes an instance of the class.
Inherited from HookEvent: GetMessageName
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Property Summary
Inherited from HookEvent: MessageName

Instance Variable Summary
boolean Injected: Was this event generated programmatically?
2-tuple of integer Position: Location of the mouse event on the screen
integer Wheel: Wheel event data
Inherited from HookEvent: Message, Time, Window, WindowName

Method Details

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

Initializes an instance of the class.
Overrides:
pyHook.HookManager.HookEvent.__init__

Instance Variable Details

Injected

Was this event generated programmatically?
Type:
boolean

Position

Location of the mouse event on the screen
Type:
2-tuple of integer

Wheel

Wheel event data
Type:
integer

Generated by Epydoc 2.1 on Wed Feb 23 16:53:22 2005 http://epydoc.sf.net