summaryrefslogtreecommitdiff
path: root/src/lib/efl/Efl.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-07-10 18:03:46 -0700
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-07-17 21:57:51 +0200
commit2d481d859354205465db2ba3df07d2bcfcbd7979 (patch)
treec0446a76c44ba126e6f20c216d7cf5e838977b75 /src/lib/efl/Efl.h
parenta68e18a903ffb0fa14d1b5ebeb3efc3a8db95812 (diff)
efl: add a Efl.Model_Provider that every widget will look up for in their parent tree.
This is done to simplify code as you only need to set the model on the provider and all the widget that are using it as a provider will automatically be updated. The child will find a provider during at the time the first property binding is set on the widget by checking if the parent have an Efl.Model_Provider set. It is not necessary to set a model to have a valid lookup on a Efl.Model_Provider. To disable a widget lookup, you can just force set a model on it (even NULL) and it will disable the lookup. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9290
Diffstat (limited to '')
-rw-r--r--src/lib/efl/Efl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/efl/Efl.h b/src/lib/efl/Efl.h
index d2746eeedc..97c21ec3fb 100644
--- a/src/lib/efl/Efl.h
+++ b/src/lib/efl/Efl.h
@@ -147,6 +147,7 @@ typedef Efl_Gfx_Path_Command_Type Efl_Gfx_Path_Command;
147#include "interfaces/efl_ui_property_bind.eo.h" 147#include "interfaces/efl_ui_property_bind.eo.h"
148#include "interfaces/efl_ui_factory.eo.h" 148#include "interfaces/efl_ui_factory.eo.h"
149#include "interfaces/efl_ui_factory_bind.eo.h" 149#include "interfaces/efl_ui_factory_bind.eo.h"
150#include "interfaces/efl_model_provider.eo.h"
150#include "interfaces/efl_cached_item.eo.h" 151#include "interfaces/efl_cached_item.eo.h"
151 152
152/* Observable interface */ 153/* Observable interface */