Efl.Object (class)

Description

Abstract Efl object class

Members

allow_parent_unref (get, set)

Allow an object to be deleted by unref even if it has a parent.
Eina_Bool efl_allow_parent_unref_get(const Eo *obj);
void efl_allow_parent_unref_set(Eo *obj, Eina_Bool allow);


children_iterator_new

Get an iterator on all childrens
Eina_Iterator *efl_children_iterator_new(Eo *obj);


comment (get, set)

A human readable comment for the object
const char *efl_comment_get(const Eo *obj);
void efl_comment_set(Eo *obj, const char *comment);


composite_attach

Make an object a composite object of another.
Eina_Bool efl_composite_attach(Eo *obj, Efl_Object *comp_obj);


composite_detach

Detach a composite object from another object.
Eina_Bool efl_composite_detach(Eo *obj, Efl_Object *comp_obj);


composite_part_is

Check if an object is part of a composite object.
Eina_Bool efl_composite_part_is(Eo *obj);


constructor

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


debug_name_override

Build a read-only name for this object used for debugging.
void efl_debug_name_override(Eo *obj, Eina_Strbuf *sb);


del

Unrefs the object and reparents it to NULL.
void efl_del(const Eo *obj);


destructor

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


event_callback_forwarder_add

Add an event callback forwarder for an event and an object.
void efl_event_callback_forwarder_add(Eo *obj, const Efl_Event_Description *desc, Efl_Object *new_obj);


event_callback_forwarder_del

Remove an event callback forwarder for an event and an object.
void efl_event_callback_forwarder_del(Eo *obj, const Efl_Event_Description *desc, Efl_Object *new_obj);


event_callback_stop

Stop the current callback call.
void efl_event_callback_stop(Eo *obj);


event_freeze

Freeze events of object.
void efl_event_freeze(Eo *obj);


event_freeze_count (get)

Return freeze events of object.
int efl_event_freeze_count_get(const Eo *obj);


event_global_freeze class

Freeze events of object.
void efl_event_global_freeze(Efl_Class *klass);


event_global_freeze_count (get) class

Return freeze events of object.
int efl_event_global_freeze_count_get(Efl_Class *klass);


event_global_thaw class

Thaw events of object.
void efl_event_global_thaw(Efl_Class *klass);


event_thaw

Thaw events of object.
void efl_event_thaw(Eo *obj);


finalize

Called at the end of efl_add. Should not be called, just overridden.
Efl_Object *efl_finalize(Eo *obj);


finalized (get)

True if the object is already finalized, otherwise false.
Eina_Bool efl_finalized_get(const Eo *obj);


name (get, set)

The name of the object.
const char *efl_name_get(const Eo *obj);
void efl_name_set(Eo *obj, const char *name);


name_find

Find a child object with the given name and return it.
Efl_Object *efl_name_find(const Eo *obj, const char *search);


parent (get, set)

The parent of an object.
Efl_Object *efl_parent_get(const Eo *obj);
void efl_parent_set(Eo *obj, Efl_Object *parent);


provider_find

Searches upwards in the object tree for a provider which knows the given class/interface.
Efl_Object *efl_provider_find(const Eo *obj, const Efl_Object *klass);


Events

callback,add

A callback was added.
EFL_EVENT_CALLBACK_ADD(void, @hot)


callback,del

A callback was deleted.
EFL_EVENT_CALLBACK_DEL(void, @hot)


del

Object is being deleted.
EFL_EVENT_DEL(void, @hot)


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.
EFL_EVENT_DESTRUCT(void, @hot)