xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=16866e4ef2cc6a646b5e6103eb0ff16f20c42838

commit 16866e4ef2cc6a646b5e6103eb0ff16f20c42838
Author: Xavi Artigas <[email protected]>
Date:   Wed Jul 31 14:24:53 2019 +0200

    Efl.Composite_Model: Improve docs.
---
 src/lib/ecore/efl_composite_model.eo | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/lib/ecore/efl_composite_model.eo 
b/src/lib/ecore/efl_composite_model.eo
index 34a77fa9dc..4244e930bc 100644
--- a/src/lib/ecore/efl_composite_model.eo
+++ b/src/lib/ecore/efl_composite_model.eo
@@ -2,20 +2,21 @@ class @beta Efl.Composite_Model extends Efl.Loop_Model 
implements Efl.Ui.View
 {
    [[Efl model for all composite class which provide a unified API to set 
source of data.
 
-   This class also provide an @Efl.Model.property "$child.index" that match 
the value of @.index.]]
+   This class also provide an @Efl.Model.property "child.index" that match the 
value of @.index.]]
    methods {
       @property index {
-         [[Position of this object in the parent model.]]
+         [[Position of this object in the parent model.
+
+           It can only be set before the object is finalized but after the 
Model it composes is set
+           (and only if that Model does not provide an index already).
+           It can only be retrieved after the object has been finalized.
+         ]]
          set {
-            [[Set the index. It can only be set before the object is finalized,
-            but after the Model it compose is set and only if that Model does
-            not provide an index already.]]
          }
          get {
-            [[Get the index. It will only work after the object has been 
finalized.]]
          }
          values {
-            index: uint; [[Index of the object in the parent model. The index 
is uniq and start from zero.]]
+            index: uint; [[Index of the object in the parent model. The index 
is unique and starts from zero.]]
          }
       }
    }

-- 


Reply via email to