[pyatspi2: 1/2] Add support for ROLE_CONTENT_DELETION and ROLE_CONTENT_INSERTION
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2: 1/2] Add support for ROLE_CONTENT_DELETION and ROLE_CONTENT_INSERTION
- Date: Tue, 18 Jun 2019 01:32:39 +0000 (UTC)
commit a210f7e30891bd0992e2d86555ee8802365f58fe
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Jun 13 12:47:39 2019 -0400
Add support for ROLE_CONTENT_DELETION and ROLE_CONTENT_INSERTION
pyatspi/role.py | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/role.py b/pyatspi/role.py
index a2b1ba8..0570f88 100644
--- a/pyatspi/role.py
+++ b/pyatspi/role.py
@@ -143,7 +143,9 @@ class Role(AtspiEnum):
122:'ROLE_DESCRIPTION_TERM',
123:'ROLE_DESCRIPTION_VALUE',
124:'ROLE_FOOTNOTE',
- 125:'ROLE_LAST_DEFINED',
+ 125:'ROLE_CONTENT_DELETION',
+ 126:'ROLE_CONTENT_INSERTION',
+ 127:'ROLE_LAST_DEFINED',
}
ROLE_ACCELERATOR_LABEL = Role(1)
@@ -165,6 +167,8 @@ ROLE_COLOR_CHOOSER = Role(9)
ROLE_COLUMN_HEADER = Role(10)
ROLE_COMBO_BOX = Role(11)
ROLE_COMMENT = Role(97)
+ROLE_CONTENT_DELETION = Role(125)
+ROLE_CONTENT_INSERTION = Role(126)
ROLE_DATE_EDITOR = Role(12)
ROLE_DEFINITION = Role(108)
ROLE_DESCRIPTION_LIST = Role(121)
@@ -208,7 +212,7 @@ ROLE_INTERNAL_FRAME = Role(28)
ROLE_INVALID = Role(0)
ROLE_LABEL = Role(29)
ROLE_LANDMARK = Role(110)
-ROLE_LAST_DEFINED = Role(125)
+ROLE_LAST_DEFINED = Role(127)
ROLE_LAYERED_PANE = Role(30)
ROLE_LEVEL_BAR = Role(103)
ROLE_LINK = Role(88)
@@ -393,6 +397,8 @@ ROLE_NAMES = {
ROLE_MATH_ROOT: 'math root',
ROLE_SUBSCRIPT: 'subscript',
ROLE_SUPERSCRIPT: 'superscript',
+ ROLE_CONTENT_DELETION: 'content deletion',
+ ROLE_CONTENT_INSERTION: 'content insertion',
}
#END----------------------------------------------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]