[pyatspi2: 1/2] Add support for ROLE_MARK and ROLE_SUGGESTION
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2: 1/2] Add support for ROLE_MARK and ROLE_SUGGESTION
- Date: Fri, 17 Jan 2020 21:45:52 +0000 (UTC)
commit fae533ae002a6872a9909249b92c54c6c9a8d10f
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Thu Jan 16 11:10:09 2020 -0500
Add support for ROLE_MARK and ROLE_SUGGESTION
pyatspi/role.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/role.py b/pyatspi/role.py
index 0570f88..8c267da 100644
--- a/pyatspi/role.py
+++ b/pyatspi/role.py
@@ -145,7 +145,9 @@ class Role(AtspiEnum):
124:'ROLE_FOOTNOTE',
125:'ROLE_CONTENT_DELETION',
126:'ROLE_CONTENT_INSERTION',
- 127:'ROLE_LAST_DEFINED',
+ 127:'ROLE_MARK',
+ 128:'ROLE_SUGGESTION',
+ 129:'ROLE_LAST_DEFINED',
}
ROLE_ACCELERATOR_LABEL = Role(1)
@@ -212,7 +214,7 @@ ROLE_INTERNAL_FRAME = Role(28)
ROLE_INVALID = Role(0)
ROLE_LABEL = Role(29)
ROLE_LANDMARK = Role(110)
-ROLE_LAST_DEFINED = Role(127)
+ROLE_LAST_DEFINED = Role(129)
ROLE_LAYERED_PANE = Role(30)
ROLE_LEVEL_BAR = Role(103)
ROLE_LINK = Role(88)
@@ -220,6 +222,7 @@ ROLE_LIST = Role(31)
ROLE_LIST_BOX = Role(98)
ROLE_LIST_ITEM = Role(32)
ROLE_LOG = Role(111)
+ROLE_MARK = Role(127)
ROLE_MARQUEE = Role(112)
ROLE_MATH = Role(113)
ROLE_MATH_FRACTION = Role(117)
@@ -255,6 +258,7 @@ ROLE_SPLIT_PANE = Role(53)
ROLE_STATIC = Role(116)
ROLE_STATUS_BAR = Role(54)
ROLE_SUBSCRIPT = Role(119)
+ROLE_SUGGESTION = Role(128)
ROLE_SUPERSCRIPT = Role(120)
ROLE_TABLE = Role(55)
ROLE_TABLE_CELL = Role(56)
@@ -399,6 +403,8 @@ ROLE_NAMES = {
ROLE_SUPERSCRIPT: 'superscript',
ROLE_CONTENT_DELETION: 'content deletion',
ROLE_CONTENT_INSERTION: 'content insertion',
+ ROLE_MARK: 'mark',
+ ROLE_SUGGESTION: 'suggestion',
}
#END----------------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]