Efl.Model.Container (class)

Description

Class used to create data models from Eina containers.

Each container supplied represents a series of property values, each item being the property value for a child object (Efl.Model.Container.Item).

The data in the given containers are copied and stored internally.

Several containers can be supplied and the number of allocated children is based on the container of the largest size.

Inheritance

Efl.Object (class)

Full hierarchy

Members

child_add [Overridden from Efl.Model]

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


child_del [Overridden from Efl.Model]

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


child_property_add

Adds the given property to child objects and supply the values.
Eina_Bool efl_model_container_child_property_add(Eo *obj, const char *name, const Eina_Value_Type *type, Eina_Iterator *values);


child_property_value_type_get

Gets the type of the given property.
const Eina_Value_Type *efl_model_container_child_property_value_type_get(Eo *obj, const char *name);


child_property_values_get

Gets the values for the given property.
Eina_Iterator *efl_model_container_child_property_values_get(Eo *obj, const char *name);


children_count_get [Overridden from Efl.Model]

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


children_slice_get [Overridden from Efl.Model]

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


constructor [Overridden from Efl.Object]

Call the object's constructor.
Efl_Object *efl_constructor(Eo *obj);


destructor [Overridden from Efl.Object]

Call the object's destructor.
void efl_destructor(Eo *obj);


properties (get) [Overridden from Efl.Model]

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


property_get [Overridden from Efl.Model]

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


property_set [Overridden from Efl.Model]

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


Inherited

Efl.Object
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.
class event_global_freeze Freeze events of object.
class event_global_freeze_count (get) Return freeze events of object.
class 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.

Events

Inherited

Efl.Model
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.
Efl.Object
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.