From: darrenk Date: Fri, 15 Nov 2002 15:58:10 +0000 (+0000) Subject: 2002-11-15 Darren Kenny X-Git-Tag: AT_SPI2_ATK_2_12_0~1313 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=35084a6fe3287675d81047d9d372b1d46d502d35 2002-11-15 Darren Kenny * 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 --- diff --git a/ChangeLog b/ChangeLog index 4bb63d1..c294176 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2002-11-15 Darren Kenny + + * 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 * atk-bridge/bridge.c diff --git a/idl/Accessibility_Relation.idl b/idl/Accessibility_Relation.idl index ac4503c..9c6c076 100644 --- a/idl/Accessibility_Relation.idl +++ b/idl/Accessibility_Relation.idl @@ -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 }; diff --git a/idl/Accessibility_Role.idl b/idl/Accessibility_Role.idl index 8fc9e7d..460ddcd 100644 --- a/idl/Accessibility_Role.idl +++ b/idl/Accessibility_Role.idl @@ -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 }; diff --git a/idl/Accessibility_State.idl b/idl/Accessibility_State.idl index 566c70d..be5f398 100644 --- a/idl/Accessibility_State.idl +++ b/idl/Accessibility_State.idl @@ -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 }; diff --git a/test/event-listener-test.c b/test/event-listener-test.c index 8e6cdcd..b22c89c 100644 --- a/test/event-listener-test.c +++ b/test/event-listener-test.c @@ -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");