AccessEngine :: AEAccInterfaces :: IEventHandler :: Class IEventHandler
[hide private]
[frames] | no frames]

Class IEventHandler

source code

            object --+    
                     |    
AEAccAdapter.Interface --+
                         |
                        IEventHandler

Provides methods for handling accessible events.

Instance Methods [hide private]
list of string
getRawEvents(self, kind)
Gets a list of raw event names that map to the given kind of AEEvent.
source code
 
getAEViewEvents(self, event, collector, vm)
Determines if the active view has changed and what events need to be fired in response.
source code
 
getAEEvents(event, collector)
Collects the AEEvents that need to be posted for this event.
source code

Inherited from AEAccAdapter.Interface: __new__

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

getRawEvents(self, kind)

source code 
Gets a list of raw event names that map to the given kind of AEEvent.
Parameters:
  • kind (AEEvent class) - Indicates the type of AEEvent
Returns: list of string
List of raw event names
Raises:
  • KeyError - When no mapping exists for the given event

getAEViewEvents(self, event, collector, vm)

source code 
Determines if the active view has changed and what events need to be fired in response.
Parameters:
  • event (pyatspi.event.Event) - Raw event
  • collector (callable) - Callable object that collects AEEvents to process. Accepts N parameters of type AEEvent.
  • vm (AEViewManager) - Reference to the view manager that has information about the current view and needs to store a reference to a new view

getAEEvents(event, collector)

source code 
Collects the AEEvents that need to be posted for this event.
Parameters:
  • event (object) - Raw event
  • collector (callable) - Callable object that collects AEEvents to process. Accepts N parameters of type AEEvent.