summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-09-04 13:53:04 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-09-04 13:53:04 +0100
commitdbec3be99686685dfb704cba468cb807a8b5760d (patch)
tree093e3a567025f631f8261ed860a31ae68d9e25bb
parent41e18f795a6cd090fbe2fdf039ea555a5df735b0 (diff)
downloadclutter-dbec3be99686685dfb704cba468cb807a8b5760d.tar.gz
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.
-rw-r--r--clutter/clutter-grid-layout.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/clutter/clutter-grid-layout.c b/clutter/clutter-grid-layout.c
index f39e58d78..f7b8f9eb0 100644
--- a/clutter/clutter-grid-layout.c
+++ b/clutter/clutter-grid-layout.c
@@ -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
*/