Hi all,
I'm using clutter 1.4.2 compiled with jhbuild through GOBject introspection
from Python, and I've looked at the documentation and tried basically every
permutation of parameters that I can conceive for clutter_actor_animatev.
from gi.repository import Clutter
...
some_actor.animatev(Clutter.AnimationMode.EASE_IN_OUT_SINE, 1000, 2, ["x",
"y"], [x_value, y_value]) would seem to be the order of the day from the API
docs; however
Traceback (most recent call last):
File "drag.py", line 131, in shoot
some_actor.animatev(Clutter.AnimationMode.EASE_IN_OUT_SINE, 1000, 2,
["x", "y"], [x, y])
File "/home/foo/clutter/install/lib/python2.6/site-packages/gi/types.py",
line 44, in function
return info.invoke(*args)
TypeError: animatev() takes exactly 4 argument(s) (6 given)
some_actor.animatev(Clutter.AnimationMode.EASE_IN_OUT_SINE, 1000, ["x",
x_value, "y", y_value]) is the most seemingly correct code which I can come
up with, and it hates this
Traceback (most recent call last):
File "drag.py", line 131, in shoot
some_actor.animatev(Clutter.AnimationMode.EASE_IN_OUT_SINE, 1000,
["x",x, "y", y])
File "/home/foo/clutter/install/lib/python2.6/site-packages/gi/types.py",
line 44, in function
return info.invoke(*args)
TypeError: argument 3: Item 1: Must be string, not int
I've tried many variations on this theme, and not yet met with success. Can
anyone show me a working instance of this function in some other Python
script or give me any direction on where to go from here?
Thanks,
Brian
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list