Package pyAA :: Module AA :: Class WinEvent
[show private | hide private]
[frames | no frames]

Type WinEvent

object --+
         |
        WinEvent


Holds information about an event.
Method Summary
  __init__(self, event_handle, event_id, hwnd, obj_id, child_id, thread_id, event_time, ao)
Initialize an instance
AccessibleObject GetAccessibleObject(self)
Return object associated with the event
string GetEventName(self)
Return name of the event type
string GetObjectName(self)
Return name of the object type
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Property Summary
  AccessibleObject
  EventName
  ObjectName

Instance Variable Summary
AccessibleObject ao: Object associated with the event
integer ChildID: Child object of a window that caused the event
integer EventHandle: Handle of the event used for dispatch
integer EventID: Type of event
integer EventTime: Time at which the event occurred
integer ObjectID: Type of object that caused the event
integer ThreadID: Thread from which the event originated
integer Window: Handle of the window from which the event originated

Method Details

__init__(self, event_handle, event_id, hwnd, obj_id, child_id, thread_id, event_time, ao=None)
(Constructor)

Initialize an instance

See instance variables for a description of parameters.
Overrides:
__builtin__.object.__init__

GetAccessibleObject(self)

Returns:
Object associated with the event
           (type=AccessibleObject)

GetEventName(self)

Returns:
Name of the event type
           (type=string)

GetObjectName(self)

Returns:
Name of the object type
           (type=string)

Property Details

AccessibleObject

Get Method:
GetAccessibleObject(self)

EventName

Get Method:
GetEventName(self)

ObjectName

Get Method:
GetObjectName(self)

Instance Variable Details

ao

Object associated with the event
Type:
AccessibleObject

ChildID

Child object of a window that caused the event
Type:
integer

EventHandle

Handle of the event used for dispatch
Type:
integer

EventID

Type of event
Type:
integer

EventTime

Time at which the event occurred
Type:
integer

ObjectID

Type of object that caused the event
Type:
integer

ThreadID

Thread from which the event originated
Type:
integer

Window

Handle of the window from which the event originated
Type:
integer

Generated by Epydoc 2.1 on Thu Mar 10 23:08:34 2005 http://epydoc.sf.net