summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2018-11-21 16:44:17 -0800
committerCedric BAIL <cedric@osg.samsung.com>2018-11-23 11:39:35 -0800
commit38865a688a89f69630f4cf3f49fa23a9f82260e4 (patch)
tree7837767f3d2c53ba5e600ab7c7e3067ab2bf5370 /src/lib/efl
parent88553eb9e8185c5505db21ec00b6f7083b5a9859 (diff)
ecore,efl: add Efl.Model.property_get helper which will suceed once when a property finally has a value.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D7323
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_model.eo17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_model.eo b/src/lib/efl/interfaces/efl_model.eo
index ffe8bf4430..ff06a321a8 100644
--- a/src/lib/efl/interfaces/efl_model.eo
+++ b/src/lib/efl/interfaces/efl_model.eo
@@ -76,6 +76,23 @@ interface Efl.Model ()
76 value: any_value_ptr; [[Property value]] 76 value: any_value_ptr; [[Property value]]
77 } 77 }
78 } 78 }
79 property_ready_get {
80 [[Get a future value when it change to something that is not error:EAGAIN
81
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
84 the error:EAGAIN disapear. Either into a failed future in case the error
85 code change to something else or a success with the value of property whenever
86 the property finally change.
87
88
89 The future can also be canceled if the model itself get destroyed.
90 ]]
91 params {
92 @in property: string;
93 }
94 return: future<any_value_ptr>;
95 }
79 children_slice_get { 96 children_slice_get {
80 [[Get children slice OR full range. 97 [[Get children slice OR full range.
81 98