Hi,

> The actor you are receiving is probably an actor within the group. You
> would need to do something like this to find what has been clicked:
>
> ClutterActor *clicked;
> gboolean res = FALSE;
>
> clicked = clutter_stage_get_actor_at_pos (stage, x, y);
> while (!CLUTTER_IS_STAGE (clicked))
> {
>         if (clicked == g_buttons[0]->actor)
>         {
>                 res = TRUE;
>                 break;
>         }
>         clicked = clutter_actor_get_parent (clicked);
> }

This worked, but the performance is not great, the ongoing animation
gets interrupted always when it gets into this loop and it looks ugly
even on desktop (I have the label rotating all the time, and when I
move e.g. mouse, it becomes jaggy).

Best Wishes,
Karoliina
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to