From 17fedd5997d89bfeca9d16710a422f4b5a3f7481 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Tue, 6 Jun 2006 20:36:19 +0000 Subject: [PATCH] 2006-06-06 Matthew Allum * python/clutter-base.defs: Add support for set/get_depth. Fix timeline declaration. --- bindings/ChangeLog | 5 +++++ bindings/python/clutter-base.defs | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/bindings/ChangeLog b/bindings/ChangeLog index 5dc67bbba..c78ed876b 100644 --- a/bindings/ChangeLog +++ b/bindings/ChangeLog @@ -1,3 +1,8 @@ +2006-06-06 Matthew Allum + + * python/clutter-base.defs: + Add support for set/get_depth. Fix timeline declaration. + 2006-06-05 Emmanuele Bassi * python/clutter-base-types.defs: diff --git a/bindings/python/clutter-base.defs b/bindings/python/clutter-base.defs index 4acf20e9d..ce3091628 100644 --- a/bindings/python/clutter-base.defs +++ b/bindings/python/clutter-base.defs @@ -18,7 +18,7 @@ (is-constructor-of "ClutterTimeline") (return-type "ClutterTimeline*") (properties - '("frames" (argname "frames")) + '("num-frames" (argname "frames")) '("fps" (argsname "fps")) ) ) @@ -530,7 +530,20 @@ (return-type "none") ) +(define-method set_depth + (of-object "ClutterElement") + (c-name "clutter_element_set_depth") + (return-type "none") + (parameters + '("gint" "depth") + ) +) +(define-method get_depth + (of-object "ClutterElement") + (c-name "clutter_element_get_depth") + (return-type "gint") +) ;; From ../../clutter/clutter-rectangle.h