~~Title: Efl.Ui.Factory: item,created~~
===== Description =====
%%Event emitted when an item has been successfully created by the factory and is about to be used by an %%[[:develop:api:efl:ui:view|Efl.Ui.View]]%%.%%
//Since 1.23//
{{page>:develop:api-include:efl:ui:factory:event:item_created:description&nouser&nolink&nodate}}
===== Signature =====
item,created: Efl.Gfx.Entity;
===== C information =====
EFL_UI_FACTORY_EVENT_ITEM_CREATED(Efl_Gfx_Entity *)
===== C usage =====
static void
on_efl_ui_factory_event_item_created(void *data, const Efl_Event *event)
{
Efl_Gfx_Entity *info = event->info;
Eo *obj = event->object;
Data *d = data;
/* event hander code */
}
static void
setup_event_handler(Eo *obj, Data *d)
{
efl_event_callback_add(obj, EFL_UI_FACTORY_EVENT_ITEM_CREATED, on_efl_ui_factory_event_item_created, d);
}