Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/python/_sugar.defs
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-17 13:30:23 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-03-17 13:30:23 (GMT)
commitebe043a4d20d408f04fb1a520fd5e707bbbf68db (patch)
tree5d461f12bc86afe962858775f53617cf3dc6ecb5 /lib/python/_sugar.defs
parent30ee6768a2049d467b6825a49745cf9552e113e3 (diff)
Refactored global key handling and frame logic.
Diffstat (limited to 'lib/python/_sugar.defs')
-rw-r--r--lib/python/_sugar.defs10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/python/_sugar.defs b/lib/python/_sugar.defs
index c894777..a23e752 100644
--- a/lib/python/_sugar.defs
+++ b/lib/python/_sugar.defs
@@ -153,6 +153,16 @@
)
)
+(define-method get_key
+ (of-object "SugarKeyGrabber")
+ (c-name "sugar_key_grabber_get_key")
+ (return-type "char*")
+ (parameters
+ '("guint" "keycode")
+ '("guint" "state")
+ )
+)
+
;; From sugar-push-scroller.h
(define-function push_scroller_get_type