[clutter] docs: Add fixed size and constraints to the size negotiation docs



commit 5cc5e566e6da0cc5d7761f20b158e8aff7c60a49
Author: Emmanuele Bassi <ebassi linux intel com>
Date:   Tue Jul 19 14:11:11 2011 +0100

    docs: Add fixed size and constraints to the size negotiation docs

 doc/size-negotiation.txt |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/doc/size-negotiation.txt b/doc/size-negotiation.txt
index 8f4713d..c7b0deb 100644
--- a/doc/size-negotiation.txt
+++ b/doc/size-negotiation.txt
@@ -83,3 +83,16 @@ graph. The same will happen for (f).
 The child (g) has the same size, but its needs_* flags will have been cleared,
 so its allocate() implementation will be invoked; this will cause the (h) and
 (i) children to be allocated as well.
+
+Fixed preferred size
+--------------------
+
+If an actor has a fixed size then that size will take precedence over the cached
+size and the actor's implementation of the get_preferred_* virtual functions.
+
+Constraints
+-----------
+
+Constraints only affect the allocation phase; each constraint is allowed to
+modify the allocation passed to clutter_actor_allocate(), before it will be
+checked and eventually discarded.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]