[maemo-developers] HildonAnimationActor and button events

From: Cornelius Hald hald at icandy.de
Date: Fri Oct 23 14:12:38 EEST 2009
Hi and thanks for you answer :)

On Fri, 2009-10-23 at 13:01 +0200, Piñeiro wrote:
> AFAIK, the real purpose of HildonAnimationActor is just what his name
> indicates, a way to introduce animations on the hildon applications
> with the help of the window manager, so in fact, it shouldn't be
> required the feature you want.

I could imagine many use cases where you want to click on something that
is animated. For example a free floating UI element which you want to
drag freely over the main window. Or which automatically moves away from
the cursor, etc...

> Why do you want to interact with this actor? What do you want to get?

I've written a free floating semi transparent button which allows you to
quit the fullscreen mode. It's supposed to behave exactly like in the
browser. Of course I have no idea how they implemented it, but my
implementation does work quite well already.

The only problem is, that if you click this button, not only the
fullscreen mode is toggled, but also the cursor is moved in the
underlaying widget.

Ideas how to implement that without the HildonAnimationActor are welcome
of course. I tried two other ways of realizing this button, but both
failed, so ATM the HildonAnimationActor is my best bet.


More information about the maemo-developers mailing list