From: Cedric BAIL Date: Tue, 12 Feb 2019 18:09:43 +0000 (-0800) Subject: efl: add an event to notify that the View property has changed. X-Git-Tag: submit/tizen/20190318.043110~42 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4dbc635665a367563f30181feda96e4a04556ea;p=platform%2Fupstream%2Fefl.git 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 --- diff --git a/src/lib/efl/interfaces/efl_ui_property_bind.eo b/src/lib/efl/interfaces/efl_ui_property_bind.eo index 5134bd2..e60de73 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.]] + } }