2008-10-28 Mark Doffman <mark.doffman@codethink.co.uk>
[platform/core/uifw/at-spi2-atk.git] / pyatspi / constants.py
index 430bcab..eab731c 100644 (file)
@@ -39,6 +39,14 @@ MOUSE_B3D = 'b3d'
 MOUSE_ABS = 'abs'
 MOUSE_REL = 'rel'
 
+# events that clear cached properties
+CACHE_EVENTS = ['object:property-change:accessible-name',
+                'object:property-change:accessible-description',
+                'object:property-change:accessible-role',
+                'object:property-change:accessible-parent']
+
+CACHE_PROPERTIES = ""
+
 # Dictionary used to correct the bug of not being able to register for all the
 # subevents given only an AT-SPI event class (i.e. first part of the event
 # name) keys are event names having subevents and values are the subevents
@@ -132,3 +140,5 @@ EVENT_TREE = {
   'focus' :
     ['focus:']
 }
+
+from Accessibility import *