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

Class HookEvent

source code

object --+
         |
        HookEvent

Holds information about a general hook event.

Instance Methods [hide private]
 
__init__(self, msg, time, hwnd, window_name)
Initializes an event instance.
source code
string
GetMessageName(self)
Returns: Name of the event
source code

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

Class Variables [hide private]
  MessageName = property(fget= GetMessageName)
Instance Variables [hide private]
integer Message
Keyboard or mouse event message
integer Time
Seconds since the epoch when the even current
integer Window
Window handle of the foreground window at the time of the event
string WindowName
Name of the foreground window at the time of the event
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg, time, hwnd, window_name)
(Constructor)

source code 

Initializes an event instance.

Overrides: object.__init__

GetMessageName(self)

source code 
Returns: string
Name of the event