On Thu, 2010-07-15 at 12:54 +0200, donn wrote: > If I set the opacity of a group to 128, all it's children get that > opacity, that's fine. However, when I set the opacity of one of the > children to 255, it seems to remain on 128 (or at least it's see-through). > > I have a short chain of groups: > Base -> child1 -> child2 > Base.set_opacity(128) : works, all are transparent. > child2.set_opacity(255) : does not seem to do what I expect. I was > looking for all the children inside child2 to go opaque.
opacity does not work that way; opacity is always composited along with the scene graph. if the parent is set to full_opacity / 2, all of its children will follow. ciao, Emmanuele. -- Emmanuele Bassi, Open Source Software Engineer Intel Open Source Technology Center _______________________________________________ clutter-app-devel-list mailing list [email protected] http://lists.clutter-project.org/listinfo/clutter-app-devel-list
