grid-layout: Clarify the scope of the orientation property

Just like GtkGrid, changing the orientation of a ClutterGridLayout does
not change the existing layout; the orientation property is only used as
a hint when adding new children.
This commit is contained in:
Emmanuele Bassi 2015-09-04 13:53:04 +01:00
parent 41e18f795a
commit dbec3be996

View File

@ -1749,7 +1749,12 @@ clutter_grid_layout_attach_next_to (ClutterGridLayout *layout,
* @layout: a #ClutterGridLayout
* @orientation: the orientation of the #ClutterGridLayout
*
* Sets the orientation of the @layout
* Sets the orientation of the @layout.
*
* #ClutterGridLayout uses the orientation as a hint when adding
* children to the #ClutterActor using it as a layout manager via
* clutter_actor_add_child(); changing this value will not have
* any effect on children that are already part of the layout.
*
* Since: 1.12
*/