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