Efl.Model (interface)

Description

Efl model interface

Members

child_add

Add a new child.
Efl_Object *efl_model_child_add(Eo *obj);


child_del

Remove a child.
void efl_model_child_del(Eo *obj, Efl_Object *child);


children_count_get

Get children count.
Efl_Future *efl_model_children_count_get(Eo *obj);


children_slice_get

Get children slice OR full range.
Efl_Future *efl_model_children_slice_get(Eo *obj, unsigned int start, unsigned int count);


properties (get)

Get properties from model.
const Eina_Array *efl_model_properties_get(const Eo *obj);


property_get

Retrieve the value of a given property name.
Efl_Future *efl_model_property_get(Eo *obj, const char *property);


property_set

Set a property value of a given property name.
Efl_Future *efl_model_property_set(Eo *obj, const char *property, const Eina_Value *value);


Events

child,added

Event dispatched when new child is added.
EFL_MODEL_EVENT_CHILD_ADDED(Efl_Object *)


child,removed

Event dispatched when child is removed.
EFL_MODEL_EVENT_CHILD_REMOVED(Efl_Object *)


children,count,changed

Event dispatched when children count is finished.
EFL_MODEL_EVENT_CHILDREN_COUNT_CHANGED(void)


properties,changed

Event dispatched when properties list is available.
EFL_MODEL_EVENT_PROPERTIES_CHANGED(Efl_Model_Property_Event)