Module RawEventMonitor :: Class RawEventMonitor
[hide private]
[frames] | no frames]

Class RawEventMonitor

source code

AccessEngine.AEMonitor.AEMonitor --+    
                                   |    
       GTKEventDialog.GTKEventDialog --+
                                       |
                                      RawEventMonitor

Logs information about platform accessibility events to a GUI window.

Instance Methods [hide private]
string
getName(self)
Gets the localized name of this monitor.
source code
list of string
getEventNames(self)
Gets the event categories to be displayed in the View menu for filtering.
source code
list of string
getEventDefaults(self)
Gets the default event categories to check in the View menu.
source code
pyatspi.event.Event class
getEventType(self)
Gets the pyatspi.event.Event base class to indicate the type of events this monitor wants to buffer.
source code
boolean
_isShown(self, event_name)
Gets if the given event name is in the shown list and if logging is enabled.
source code
 
show(self, event, **kwargs)
Renders an event as text into the gtk.TextBuffer.
source code

Inherited from GTKEventDialog.GTKEventDialog: __init__, close, init

Class Variables [hide private]

Inherited from GTKEventDialog.GTKEventDialog: num_windows

Instance Variables [hide private]

Inherited from GTKEventDialog.GTKEventDialog: logging, queue, scroll, shown, text_buffer, text_view, timer, window

Method Details [hide private]

getName(self)

source code 
Gets the localized name of this monitor.
Returns: string
Monitor name

getEventNames(self)

source code 
Gets the event categories to be displayed in the View menu for filtering.
Returns: list of string
Event categories

getEventDefaults(self)

source code 
Gets the default event categories to check in the View menu.
Returns: list of string
Event categories

getEventType(self)

source code 
Gets the pyatspi.event.Event base class to indicate the type of events this monitor wants to buffer.
Returns: pyatspi.event.Event class
Base type of the event this monitor should buffer

_isShown(self, event_name)

source code 
Gets if the given event name is in the shown list and if logging is enabled.
Parameters:
  • event_name (string) - Name of the event
Returns: boolean
Is the event to be shown?
Overrides: GTKEventDialog.GTKEventDialog._isShown

show(self, event, **kwargs)

source code 
Renders an event as text into the gtk.TextBuffer. The context has no effect on rendering in this monitor and so it defaults to None.
Parameters:
  • event (pyatspi.event.Event) - Event to buffer