Sanuel,

That works thanks, I am not sure if I can update the documents but if
some one can do that it would help future questions.

Thanks

Ian

-----Original Message-----
From: Samuel Degrande [mailto:[email protected]] 
Sent: Thursday, August 13, 2009 1:51 AM
To: Ian Walberg
Cc: Neil Roberts; [email protected]
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 the rotation example :-
>
> clutter_actor_animate (actor, CLUTTER_EASE_IN, 100,
>                           "rotation-angle-z", 360,
>                           "fixed::rotation-center-z",&center,
>                           NULL);
> Thanks
>
> Ian
>

I was caught by such an error several times !!

You have to take care to provide the right type of values.
So you need, for example

clutter_actor_animate (actor, CLUTTER_EASE_IN, 100,
                            "rotation-angle-z", 360.0,
                            "fixed::rotation-center-z",&center,
                            NULL);

This is rather very annoying, because we are so used to implicit
type conversion...

-- 
Samuel Degrande           LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3
Phone: (33)3.28.77.85.30  USTL - Universite de Lille 1
        (33)3.62.53.15.70  59655 VILLENEUVE D'ASCQ CEDEX - FRANCE
[CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ]
--
To unsubscribe send a mail to [email protected]

Reply via email to