python : bind the new timeline_object functions
authorMathieu Duponchelle <seeed@laposte.net>
Tue, 9 Aug 2011 13:56:56 +0000 (15:56 +0200)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 11 Jan 2012 14:56:15 +0000 (11:56 -0300)
    + move_to_layer
    + is_moving_from_layer
    + set_moving_from_layer

bindings/python/ges.defs

index a646522..a339999 100644 (file)
   )
 )
 
+(define-method move_to_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_move_to_layer")
+  (return-type "gboolean")
+  (parameters
+    '("GESTimelineLayer*" "layer")
+  )
+)
+
+(define-method is_moving_from_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_is_moving_from_layer")
+  (return-type "gboolean")
+)
+
+(define-method set_moving_from_layer
+  (of-object "GESTimelineObject")
+  (c-name "ges_timeline_object_set_moving_from_layer")
+  (return-type "none")
+  (parameters
+    '("gboolean" "is_moving")
+  )
+)
+
+
 
 
 ;; From ges-timeline-operation.h