Howdy,

I have a layout actor that allocates its children, and its children are for
example connected to the notify::width and notify::height signals.

At width and height changes to the layout children, I do stuff like
adding/removing child actors, change texture sizes etc (in the children).
The issue I'm having is I get Clutter Warnings that both the layout actor
and its children are currently inside an allocation cycle; calling
clutter_actor_queue_relayout() is not recommended.

>From my understanding x, y, width, height,.. notifications are only sent
after the allocation changes, even though the layout actor allocates its
children inside its own allocate function, so the signals for its children
are sent while parent is in its allocate function.

Any idea on this?

Cheers,
Jan.
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to