[pyatspi2] Add KeySynthType mapping
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pyatspi2] Add KeySynthType mapping
- Date: Wed, 5 Jan 2011 21:43:32 +0000 (UTC)
commit 9a013407adfea1c63b55b35fc69e289726688d8d
Author: Mike Gorse <mgorse novell com>
Date: Wed Jan 5 15:46:19 2011 -0600
Add KeySynthType mapping
pyatspi/Accessibility.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/pyatspi/Accessibility.py b/pyatspi/Accessibility.py
index cb3d314..2ab1ca4 100644
--- a/pyatspi/Accessibility.py
+++ b/pyatspi/Accessibility.py
@@ -320,3 +320,8 @@ KEY_PRESSED_EVENT = Atspi.EventType.KEY_PRESSED_EVENT
KEY_RELEASED_EVENT = Atspi.EventType.KEY_RELEASED_EVENT
BUTTON_PRESSED_EVENT = Atspi.EventType.BUTTON_PRESSED_EVENT
BUTTON_RELEASED_EVENT = Atspi.EventType.BUTTON_RELEASED_EVENT
+
+### KeySynthType ###
+KEY_PRESS = Atspi.KeySynthType.PRESS
+KEY_PRESSRELEASE = Atspi.KeySynthType.PRESSRELEASE
+KEY_RELEASE = Atspi.KeySynthType.RELEASE
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]