2002-11-15 Darren Kenny <darren.kenny@sun.com>
authordarrenk <darrenk@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Fri, 15 Nov 2002 15:58:10 +0000 (15:58 +0000)
committerdarrenk <darrenk@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Fri, 15 Nov 2002 15:58:10 +0000 (15:58 +0000)
* idl/Accessibility_Relation.idl:
add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
RELATION_EMBEDS,RELATION_EMBEDDED_BY
* idl/Accessibility_Role.idl:
add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
* idl/Accessibility_State.idl:
add STATE_MANAGES_DESCENDANTS
* test/event-listener-test.c:
Added a listener for active-descendant events.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@359 e2bd861d-eb25-0410-b326-f6ed22b6b98c

ChangeLog
idl/Accessibility_Relation.idl
idl/Accessibility_Role.idl
idl/Accessibility_State.idl
test/event-listener-test.c

index 4bb63d1..c294176 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2002-11-15  Darren Kenny  <darren.kenny@sun.com>
+
+       * idl/Accessibility_Relation.idl:
+       add RELATION_FLOWS_TO,RELATION_FLOWS_FROM,RELATION_SUBWINDOW_OF,
+       RELATION_EMBEDS,RELATION_EMBEDDED_BY
+       * idl/Accessibility_Role.idl:
+       add ROLE_HEADER, ROLE_FOOTER, ROLE_PARAGRAPH, ROLE_RULER
+       * idl/Accessibility_State.idl:
+       add STATE_MANAGES_DESCENDANTS
+       * test/event-listener-test.c:
+       Added a listener for active-descendant events.
+
 2002-11-15  Padraig O'Briain  <padraig.obriain@sun.com>
 
        * atk-bridge/bridge.c
index ac4503c..9c6c076 100644 (file)
@@ -35,6 +35,11 @@ module Accessibility {
     RELATION_TOOLTIP_FOR,
     RELATION_NODE_CHILD_OF,
     RELATION_EXTENDED,
+    RELATION_FLOWS_TO,
+    RELATION_FLOWS_FROM,
+    RELATION_SUBWINDOW_OF,
+    RELATION_EMBEDS,
+    RELATION_EMBEDDED_BY,
     RELATION_LAST_DEFINED
   };
 
index 8fc9e7d..460ddcd 100644 (file)
@@ -245,6 +245,18 @@ module Accessibility {
    * core enumeration 
    */
   ROLE_EXTENDED,
+  /* An object that serves as a document header. */
+  ROLE_HEADER,
+  /* An object that serves as a document footer. */
+  ROLE_FOOTER,
+  /* An object which is contains a paragraph of text content. */
+  ROLE_PARAGRAPH,
+  /*
+   * An object which describes margins and tab stops, etc. 
+   * for text objects which it controls 
+   * (should have CONTROLLER_FOR relation to such). 
+   */
+  ROLE_RULER,
   /* not a valid role, used for finding end of enumeration. */
   ROLE_LAST_DEFINED
   };
index 566c70d..be5f398 100644 (file)
@@ -108,6 +108,14 @@ module Accessibility {
   STATE_VERTICAL,
   /* Indicates this object is visible */
   STATE_VISIBLE,
+  /*
+   * Indicates that "active-descendant-changed" event is sent when children
+   * become 'active' (i.e. are selected or navigated to onscreen).  Used to
+   * prevent need to enumerate all children in very large containers, like
+   * tables.
+   */
+  STATE_MANAGES_DESCENDANTS,
+
   STATE_LAST_DEFINED
   };
 
index 8e6cdcd..b22c89c 100644 (file)
@@ -114,6 +114,8 @@ main (int argc, char **argv)
 /*  SPI_registerGlobalEventListener (specific_listener,
     "object:children-changed:add"); */
   SPI_registerGlobalEventListener (generic_listener,
+                                  "object:active-descendant"); 
+  SPI_registerGlobalEventListener (generic_listener,
                                   "object:visible-data-changed"); 
   SPI_registerGlobalEventListener (generic_listener,
                                   "object:text-selection-changed");