[at-spi2-core] Add roles for description list, description term, and description value



commit 2a53cee903e223695b900bee80fad65056a86253
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed May 17 17:25:17 2017 +0200

    Add roles for description list, description term, and description value
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782041

 atspi/atspi-constants.h                |   17 ++++++++++++++++-
 doc/libatspi/tmpl/atspi-constants.sgml |    3 +++
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-constants.h b/atspi/atspi-constants.h
index 604ea1c..0c6a5eb 100644
--- a/atspi/atspi-constants.h
+++ b/atspi/atspi-constants.h
@@ -1181,6 +1181,18 @@ typedef enum {
  * subscript. @Since: 2.16.
  *@ATSPI_ROLE_SUPERSCRIPT: An object that contains text that is displayed as a
  * superscript. @Since: 2.16.
+ *@ATSPI_ROLE_DESCRIPTION_LIST: An object that represents a list of term-value
+ * groups. A term-value group represents an individual description and consist
+ * of one or more names (@ATSPI_ROLE_DESCRIPTION_TERM) followed by one or more
+ * values (@ATSPI_ROLE_DESCRIPTION_VALUE). For each list, there should not be
+ * more than one group with the same term name. @Since: 2.26.
+ *@ATSPI_ROLE_DESCRIPTION_TERM: An object that represents the term, or name,
+ * part of a term-description group in a description list. @Since: 2.26.
+ *@ATSPI_ROLE_DESCRIPTION_VALUE: An object that represents the description,
+ * definition, or value of a term-description group in a description list.
+ * The values within a group are alternatives, meaning that you can have
+ * several @ATSPI_ROLE_DESCRIPTION_VALUE objects for a given
+ * @ATSPI_ROLE_DESCRIPTION_TERM. @Since: 2.26.
  * @ATSPI_ROLE_LAST_DEFINED: Not a valid role, used for finding end of
  * enumeration.
  *
@@ -1310,6 +1322,9 @@ typedef enum {
     ATSPI_ROLE_MATH_ROOT,
     ATSPI_ROLE_SUBSCRIPT,
     ATSPI_ROLE_SUPERSCRIPT,
+    ATSPI_ROLE_DESCRIPTION_LIST,
+    ATSPI_ROLE_DESCRIPTION_TERM,
+    ATSPI_ROLE_DESCRIPTION_VALUE,
     ATSPI_ROLE_LAST_DEFINED,
 } AtspiRole;
 
@@ -1318,7 +1333,7 @@ typedef enum {
  *
  * One higher than the highest valid value of #AtspiRole.
  */
-#define ATSPI_ROLE_COUNT (121+1)
+#define ATSPI_ROLE_COUNT (124+1)
 
 typedef enum
 {
diff --git a/doc/libatspi/tmpl/atspi-constants.sgml b/doc/libatspi/tmpl/atspi-constants.sgml
index 5565e24..c16f685 100644
--- a/doc/libatspi/tmpl/atspi-constants.sgml
+++ b/doc/libatspi/tmpl/atspi-constants.sgml
@@ -458,6 +458,9 @@ Constant definitions needed by multiple interfaces.
 @ATSPI_ROLE_MATH_ROOT: 
 @ATSPI_ROLE_SUBSCRIPT: 
 @ATSPI_ROLE_SUPERSCRIPT: 
+@ATSPI_ROLE_DESCRIPTION_LIST:
+@ATSPI_ROLE_DESCRIPTION_TERM:
+@ATSPI_ROLE_DESCRIPTION_VALUE:
 @ATSPI_ROLE_LAST_DEFINED: 
 
 <!-- ##### MACRO ATSPI_ROLE_COUNT ##### -->


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]