aboutsummaryrefslogtreecommitdiffstats
path: root/observer_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'observer_test.py')
-rw-r--r--observer_test.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/observer_test.py b/observer_test.py
new file mode 100644
index 0000000..26a963a
--- /dev/null
+++ b/observer_test.py
@@ -0,0 +1,10 @@
+from mojo.events import addObserver
+
+class EqualizeSidebearings:
+ def __init__(self):
+ addObserver(self, 'center', 'spaceCenterKeyUp')
+
+ def center(self, info):
+ print info
+
+EqualizeSidebearings() \ No newline at end of file