Efl.Content (interface)

Description

Common interface for objects that have a single sub-object as content.

This is used for the default content part of widgets, as well as for individual parts through Efl.Part.

Since 1.22

Members

content (get, set)

Sub-object currently set as this object's single content.
Efl_Gfx_Entity *efl_content_get(const Eo *obj);
Eina_Bool efl_content_set(Eo *obj, Efl_Gfx_Entity *content);


content_unset

Remove the sub-object currently set as content of this object and return it. This object becomes empty.
Efl_Gfx_Entity *efl_content_unset(Eo *obj);


Events

content,changed

Sent after the content is set or unset using the current content object.
EFL_CONTENT_EVENT_CONTENT_CHANGED(Efl_Gfx_Entity *)