[pyclutter/wip/introspection] PropertyTransition override



commit 40047b0d81fe97a5e4426daf51c37db6e93e5959
Author: Bastian Winkler <buz netbuz org>
Date:   Wed May 9 12:37:30 2012 +0200

    PropertyTransition override

 introspection/Clutter.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/introspection/Clutter.py b/introspection/Clutter.py
index b0e9598..8de9a20 100644
--- a/introspection/Clutter.py
+++ b/introspection/Clutter.py
@@ -1407,6 +1407,16 @@ if clutter_version >= (1, 10, 0):
     __all__.append('PipelineNode')
 
 
+    class PropertyTransition(Clutter.PropertyTransition):
+        def __init__(self, property_name=None, **kwargs):
+            if property_name is not None:
+                kwargs['property_name'] = property_name
+            Clutter.PropertyTransition.__init__(self, **kwargs)
+
+    PropertyTransition = override(PropertyTransition)
+    __all__.append('PropertyTransition')
+
+
 
 class Settings(Clutter.Settings):
     def __new__(cls, *args, **kwargs):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]