summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-07-31 14:24:53 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-07-31 14:24:53 +0200
commit16866e4ef2cc6a646b5e6103eb0ff16f20c42838 (patch)
treea160801ea6a715130322f43a94321a388035ae99 /src/lib/ecore
parent740b91c9de4fd30d46b4deb50e3e3097fe6b26bd (diff)
Efl.Composite_Model: Improve docs.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_composite_model.eo15
1 files 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
2{ 2{
3 [[Efl model for all composite class which provide a unified API to set source of data. 3 [[Efl model for all composite class which provide a unified API to set source of data.
4 4
5 This class also provide an @Efl.Model.property "$child.index" that match the value of @.index.]] 5 This class also provide an @Efl.Model.property "child.index" that match the value of @.index.]]
6 methods { 6 methods {
7 @property index { 7 @property index {
8 [[Position of this object in the parent model.]] 8 [[Position of this object in the parent model.
9
10 It can only be set before the object is finalized but after the Model it composes is set
11 (and only if that Model does not provide an index already).
12 It can only be retrieved after the object has been finalized.
13 ]]
9 set { 14 set {
10 [[Set the index. It can only be set before the object is finalized,
11 but after the Model it compose is set and only if that Model does
12 not provide an index already.]]
13 } 15 }
14 get { 16 get {
15 [[Get the index. It will only work after the object has been finalized.]]
16 } 17 }
17 values { 18 values {
18 index: uint; [[Index of the object in the parent model. The index is uniq and start from zero.]] 19 index: uint; [[Index of the object in the parent model. The index is unique and starts from zero.]]
19 } 20 }
20 } 21 }
21 } 22 }