From cbd8c45afeb458560e70ed5c3bc415ac79c66db4 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Tue, 12 Feb 2019 10:09:43 -0800 Subject: [PATCH] efl: add an event to notify that the View property has changed. Reviewed-by: Xavi Artigas Reviewed-by: Lauro Neto > Differential Revision: https://phab.enlightenment.org/D7940 --- src/lib/efl/interfaces/efl_ui_property_bind.eo | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/efl/interfaces/efl_ui_property_bind.eo b/src/lib/efl/interfaces/efl_ui_property_bind.eo index 5134bd2916..e60de731a1 100644 --- a/src/lib/efl/interfaces/efl_ui_property_bind.eo +++ b/src/lib/efl/interfaces/efl_ui_property_bind.eo @@ -1,5 +1,11 @@ import eina_types; +struct Efl.Ui.Property_Event { + [[EFL Ui property event data structure triggered when an object property change due + to the interaction on the object.]] + changed_properties: array; [[List of changed properties]] +} + interface @beta Efl.Ui.Property_Bind { [[Efl UI Property_Bind interface. @@ -18,4 +24,8 @@ interface @beta Efl.Ui.Property_Bind return: Eina.Error; [[0 when it succeed, an error code otherwise.]] } } + events { + properties,changed: Efl.Ui.Property_Event; [[Event dispatched when a property on the object has changed due to an user interaction on the object that a model could be interested in.]] + property,bound: stringshare; [[Event dispatched when a property on the object is bound to a model. This is useful to not overgenerate event.]] + } }