Generic model that allows any property to be manually set. Also children of the same type can be added and deleted.
Intended to be used in scenarios where the user needs a manually defined data model, like in tests.
It does not model anything in particular and does not affect anything else in the system.
Add a new child.
Efl_Object *efl_model_child_add(Eo *obj);
Remove a child.
void efl_model_child_del(Eo *obj, Efl_Object *child);
Get children count.
Efl_Future *efl_model_children_count_get(Eo *obj);
Get children slice OR full range.
Efl_Future *efl_model_children_slice_get(Eo *obj, unsigned int start, unsigned int count);
Call the object's constructor.
Efl_Object *efl_constructor(Eo *obj);
Call the object's destructor.
void efl_destructor(Eo *obj);
Get properties from model.
const Eina_Array *efl_model_properties_get(const Eo *obj);
Retrieve the value of a given property name.
Efl_Future *efl_model_property_get(Eo *obj, const char *property);
Set a property value of a given property name.
Efl_Future *efl_model_property_set(Eo *obj, const char *property, const Eina_Value *value);
|allow_parent_unref (get, set)||Allow an object to be deleted by unref even if it has a parent.|
|children_iterator_new||Get an iterator on all childrens|
|comment (get, set)||A human readable comment for the object|
|composite_attach||Make an object a composite object of another.|
|composite_detach||Detach a composite object from another object.|
|composite_part_is||Check if an object is part of a composite object.|
|debug_name_override||Build a read-only name for this object used for debugging.|
|del||Unrefs the object and reparents it to NULL.|
|event_callback_forwarder_add||Add an event callback forwarder for an event and an object.|
|event_callback_forwarder_del||Remove an event callback forwarder for an event and an object.|
|event_callback_stop||Stop the current callback call.|
|event_freeze||Freeze events of object.|
|event_freeze_count (get)||Return freeze events of object.|
| ||event_global_freeze||Freeze events of object.|
| ||event_global_freeze_count (get)||Return freeze events of object.|
| ||event_global_thaw||Thaw events of object.|
|event_thaw||Thaw events of object.|
|finalize||Called at the end of efl_add. Should not be called, just overridden.|
|finalized (get)||True if the object is already finalized, otherwise false.|
|name (get, set)||The name of the object.|
|name_find||Find a child object with the given name and return it.|
|parent (get, set)||The parent of an object.|
|provider_find||Searches upwards in the object tree for a provider which knows the given class/interface.|
|child,added||Event dispatched when new child is added.|
|child,removed||Event dispatched when child is removed.|
|children,count,changed||Event dispatched when children count is finished.|
|properties,changed||Event dispatched when properties list is available.|
|callback,add||A callback was added.|
|callback,del||A callback was deleted.|
|del||Object is being deleted.|
|destruct||Object has been fully destroyed. It can not be used beyond this point. This event should only serve to clean up any dangling pointer.|