Re: [clutter] clutter_actor_animate: assertion `duration 0' failed

2010-06-23 Thread Neil Roberts
Daniel Hughes tramps...@gmail.com wrote: I am playing around with clutter and am using if from c#. Because the c# bindings are in a poor state I am having to create my own bindings as I go. clutter_actor_animate is a hard call to interop because it has a variable number of arguments

Re: [clutter] clutter_actor_animate: assertion `duration 0' failed

2010-06-23 Thread Daniel Hughes
Thank neil for the pointer I tried the suggested function but I get exactly the same Assertion. Clutter-CRITICAL **: clutter_actor_animatev: assertion `duration 0' failed (we except for the v) here is my code: public Animation Animate(ClutterAnimationMode mode, uint

Re: [clutter] clutter_actor_animate ()

2009-08-13 Thread Samuel Degrande
On 13/08/2009 01:41, Ian Walberg wrote: Neil, Thanks that helps. However I am getting this following error :- 'Cannot bind property '' objects of type 'ClutterTexture' do not have this property' When I try the rotation example :- clutter_actor_animate (actor, CLUTTER_EASE_IN, 100,

RE: [clutter] clutter_actor_animate ()

2009-08-13 Thread Ian Walberg
Roberts; clutter@o-hand.com Subject: Re: [clutter] clutter_actor_animate () On 13/08/2009 01:41, Ian Walberg wrote: Neil, Thanks that helps. However I am getting this following error :- 'Cannot bind property '' objects of type 'ClutterTexture' do not have this property' When I try

Re: [clutter] clutter_actor_animate ()

2009-08-13 Thread Uday Verma
If you use variables to pass these values to clutter_actor_animate and if any of these variables is of incorrect type, the function just segfaults. gint angle = 360; // instead of a double clutter_actor_animate (myactor, CLUTTER_EASE_IN, 100, rotation-angle-z, x, NULL); // will segfault -- On

Re: [clutter] clutter_actor_animate ()

2009-08-13 Thread Emmanuele Bassi
On Thu, 2009-08-13 at 10:25 -0500, Uday Verma wrote: If you use variables to pass these values to clutter_actor_animate and if any of these variables is of incorrect type, the function just segfaults. gint angle = 360; // instead of a double clutter_actor_animate (myactor,

RE: [clutter] clutter_actor_animate ()

2009-08-13 Thread Ian Walberg
I am happy to pass 'sensible stuff' and I am just working out what can be passed. How do I make the animation loop? Thanks Ian -Original Message- From: Emmanuele Bassi [mailto:eba...@linux.intel.com] Sent: Thursday, August 13, 2009 8:30 AM To: clutter@o-hand.com Subject: Re: [clutter

RE: [clutter] clutter_actor_animate ()

2009-08-13 Thread Emmanuele Bassi
On Thu, 2009-08-13 at 11:51 -0400, Ian Walberg wrote: I am happy to pass 'sensible stuff' and I am just working out what can be passed. How do I make the animation loop? by reading the documentation: http://www.clutter-project.org/docs/clutter/stable/clutter-Implicit-Animations.html

RE: [clutter] clutter_actor_animate ()

2009-08-13 Thread Ian Walberg
To: clutter@o-hand.com Subject: RE: [clutter] clutter_actor_animate () On Thu, 2009-08-13 at 11:51 -0400, Ian Walberg wrote: I am happy to pass 'sensible stuff' and I am just working out what can be passed. How do I make the animation loop? by reading the documentation: http://www.clutter

RE: [clutter] clutter_actor_animate ()

2009-08-13 Thread Ian Walberg
Emmanuele, Many thanks for the reply and I now understand. I have tried what you suggest and it works perfectly. Ian -Original Message- From: Emmanuele Bassi [mailto:eba...@linux.intel.com] Sent: Thursday, August 13, 2009 9:31 AM To: clutter@o-hand.com Subject: RE: [clutter

Re: [clutter] clutter_actor_animate ()

2009-08-12 Thread Neil Roberts
On Wed, 2009-08-12 at 17:32 -0400, Ian Walberg wrote: Can anyone point me to the list of 'properties' (and their values) that can be used with clutter_actor_animate (). clutter_actor_animate can animate any gobject property of an actor so to get the list you can look at the 'Properties' section