~~Title: Efl.Content~~
====== 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 %%[[:develop:api:efl:part|Efl.Part]]%%.%%
//Since 1.22//
{{page>:develop:api-include:efl:content:description&nouser&nolink&nodate}}
===== Members =====
**[[:develop:api:efl:content:property:content|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);
\\
**[[:develop:api:efl:content:method:content_unset|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 =====
**[[:develop:api:efl:content:event:content_changed|content,changed]]**\\
> %%Sent after the content is set or unset using the current content object.%%
EFL_CONTENT_EVENT_CONTENT_CHANGED(Efl_Gfx_Entity *)
\\