On Mon, 2008-02-25 at 14:26 +0000, Emmanuele Bassi wrote:
> > TidyFrame seems like the simplest example so far for the new way of
> > doing things with Clutter 0.6. It seems to position its child during the
> > ClutterActor::request_coords() implementation.
> > http://svn.o-hand.com/view/tidy/trunk/tidy/tidy-frame.c?rev=105&view=markup
> 
> it repositions its children when adding it (in the override for the
> ClutterContainer::add virtual function) and when being requested a new
> bounding box.
> 
> > Is this the generally recommended way to do things with 0.6, or am I not
> > seeing some more explicit mechanism?
> 
> there is no more explicit mechanism: you want a layout to recompute the
> position of its children when actually adding the children and when
> being asked to resize itself. this did not change between 0.4 and 0.6.

Thanks. I have written up the basics of implementing a layout container
in 0.6 here:
http://www.openismus.com/misc/clutter_tutorial/docs/tutorial/html/apas03.html

With a very simple HBox-like example:
http://www.openismus.com/misc/clutter_tutorial/docs/tutorial/html/apas04.html

I would really appreciate it if you could review that and tell me about
whatever errors I've (surely) made.

-- 
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com
> 

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to