On Sat, 2007-11-10 at 19:58 +0100, Christophe Dehais wrote: > Shouldn't clutter_actor_show_all() call clutter_actor_show_all on the > container children ?
you might be packing all the actors inside a container and hide/show them on command, so a recursive show_all() might introduce flicker or unwanted results. clutter_actor_show_all() is a shortcut for showing all the non-container children of a container, instead of adding them and showing them one at a time. > This would allow the complete traversal of the scene graph and behave > more in accordance with gtk_widget_show_all(). GTK+ user interfaces do not change, and if they do they require a size negotiation; Clutter UIs, instead, are usually "fluid" in number of elements, so you cannot directly map the two. in any case, you can subclass ClutterGroup and override the show_all() and hide_all() virtual functions of the ClutterActor class vtable and provide a recursive implementation, so that calling clutter_actor_show_all() on your container will do what you think it's best for your application. ciao, Emmanuele. -- Emmanuele Bassi, OpenedHand Ltd. Unit R, Homesdale Business Centre 216-218 Homesdale Rd., Bromley - BR12QZ http://www.o-hand.com -- To unsubscribe send a mail to [EMAIL PROTECTED]