Interface for factory-pattern object creation.
This object represents a Factory in the factory pattern. Objects should be created via the method Efl.Ui.View_Factory.create_with_event, which will in turn call the necessary APIs from this interface. Objects created this way should be removed using Efl.Ui.Factory.release.
It is recommended to not create your own Efl.Ui.Factory and use event handler as much as possible.
Release a UI object and disconnect from models.
void efl_ui_factory_release(Eo *obj, Eina_Iterator *ui_views);
Create a UI object from the necessary properties in the specified model.
Eina_Future *efl_ui_factory_create(Eo *obj, Eina_Iterator *models);
|bind the factory with the given key string. when the data is ready or changed, factory create the object and bind the data to the key action and process promised work. Note: the input Efl.Ui.Factory need to be Efl.Ui.Property_Bind.property_bind at least once.
|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.
Event emitted when an item has been successfully created by the factory and is about to be used by an Efl.Ui.View.
|Event dispatched when a property on the object has changed due to a user interaction on the object that a model could be interested in.
|Event dispatched when a property on the object is bound to a model. This is useful to avoid generating too many events.