2019-02-12 11:55:03 -08:00
import eina_types;
2019-02-12 10:09:43 -08:00
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<stringshare>; [[List of changed properties]]
}
2019-02-14 08:37:02 -08:00
interface @beta Efl.Ui.Property_Bind
2019-01-31 03:59:19 -08:00
{
[[Efl UI Property_Bind interface.
view object can have @Efl.Model to manage the data,
the interface can help loading and tracking child data from the model property.
see @Efl.Model
see @Efl.Ui.Factory]]
methods {
property_bind {
[[bind property data with the given key string. when the data is ready or changed,
bind the data to the key action and process promised work.]]
params {
key: string; [[key string for bind model property data]]
property: string; [[Model property name]]
}
2019-02-12 11:55:03 -08:00
return: Eina.Error; [[0 when it succeed, an error code otherwise.]]
2019-01-31 03:59:19 -08:00
}
}
2019-02-12 10:09:43 -08:00
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.]]
}
2019-01-31 03:59:19 -08:00
}