summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-12-28 16:58:36 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-28 16:58:36 +0100
commitbcf80f287c446e3f7792c3fbac7c53c67128600a (patch)
tree4a5684c31f59b5ce4dd76850735928e766895027
parentfe05e5559b24c0df1616e2a7d1f7faefe5048bab (diff)
docs: Misc typos and code references
-rw-r--r--src/lib/efl/interfaces/efl_model.eo26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index a92a0650c2..dc7b0de4cb 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -77,16 +77,16 @@ interface Efl.Model ()
77 } 77 }
78 } 78 }
79 property_ready_get { 79 property_ready_get {
80 [[Get a future value when it change to something that is not error:EAGAIN 80 [[Get a future value when it changes to something that is not error:EAGAIN
81 81
82 property_get can return an error with code EAGAIN when it doesn't have any 82 @.property.get can return an error with code EAGAIN when it doesn't have any
83 meaningful value. To make life easier, this future will resolve when 83 meaningful value. To make life easier, this future will resolve when
84 the error:EAGAIN disapear. Either into a failed future in case the error 84 the error:EAGAIN disapears. Either into a failed future in case the error
85 code change to something else or a success with the value of property whenever 85 code changed to something else or a success with the value of the property
86 the property finally change. 86 whenever the property finally changes.
87 87
88 88
89 The future can also be canceled if the model itself get destroyed. 89 The future can also be canceled if the model itself gets destroyed.
90 ]] 90 ]]
91 params { 91 params {
92 @in property: string; 92 @in property: string;
@@ -96,11 +96,11 @@ interface Efl.Model ()
96 children_slice_get { 96 children_slice_get {
97 [[Get children slice OR full range. 97 [[Get children slice OR full range.
98 98
99 children_slice_get behaves in two different ways, it may 99 @.children_slice_get behaves in two different ways, it may
100 provide the slice if $count is non-zero 100 provide the slice if $count is non-zero
101 OR full range otherwise. 101 OR full range otherwise.
102 102
103 Since 'slice' is a range, for example if we have 20 childs a 103 Since 'slice' is a range, for example if we have 20 children a
104 slice could be the range from 3(start) with 4(count), see: 104 slice could be the range from 3(start) with 4(count), see:
105 105
106 child 0 [no] 106 child 0 [no]
@@ -112,7 +112,7 @@ interface Efl.Model ()
112 child 6 [yes] 112 child 6 [yes]
113 child 7 [no] 113 child 7 [no]
114 114
115 Optionally the user can call children_count_get to know the 115 Optionally the user can call @.children_count.get to know the
116 number of children so a valid range can be known in advance. 116 number of children so a valid range can be known in advance.
117 117
118 See @.children_count.get 118 See @.children_count.get
@@ -125,15 +125,15 @@ interface Efl.Model ()
125 ignored.]] 125 ignored.]]
126 } 126 }
127 /* XXX: is this right? */ 127 /* XXX: is this right? */
128 return: future<accessor<Efl.Object>>; [[Array of childrens]] 128 return: future<accessor<Efl.Object>>; [[Array of children]]
129 } 129 }
130 @property children_count { 130 @property children_count {
131 get { 131 get {
132 [[Get children count. 132 [[Get children count.
133 133
134 When efl_model_load is completed efl_model_coildren_count_get 134 When efl_model_load is completed @.children_count.get
135 can be used to get the number of children. children_count_get 135 can be used to get the number of children. @.children_count.get
136 can also be used before calling children_slice_get so a valid 136 can also be used before calling @.children_slice_get so a valid
137 range is known. Event @[Efl.Model.children,count,changed] is 137 range is known. Event @[Efl.Model.children,count,changed] is
138 emitted when count is finished. 138 emitted when count is finished.
139 139