[maemo-developers] HildonAnimationActor and transparency

From: Cornelius Hald hald at icandy.de
Date: Fri Oct 23 10:08:38 EEST 2009
Hi,

yesterday I was playing around with HildonAnimationActor and it's really
nice what you can do with it. But there are still some things, I don't
really understand. Hopefully someone can help me with that :)

I created a HildonAnimationActor and put a GtkImage, made from a ARGB
png, onto it with gtk_container_add().

The problem is, that the HildonAnimationActor has it's own background,
so the transparent parts of the image show the background of the actor
instead of the underlaying widget.

I can use hildon_animation_actor_set_opacity() an the actor to make it
transparent, but that affects the complete actor, so both, the actors
background and the image become transparent.

My question is: How do I make the background of the actor completely
transparent without altering the transparency of the content of the
actor?

I really hope I don't have to go back to HildonRemoteTexture, because
HildonAnimationActor is much nicer for my purpose.

Thanks!
Conny


P.S. HildonAnimationActor is a GtkWindow, so maybe I should just try to
remove the background of the window? I don't know how to do that, but I
know it's possible. Would this be the way to go or is there a simpler
way?


More information about the maemo-developers mailing list