~~Title: Efl.Ui.Factory: item,building~~
===== Description =====
%%Event emitted when an item has processed %%[[:develop:api:efl:object:method:finalize|Efl.Object.finalize]]%%, but before all the factory are done building it. Note: If the %%[[:develop:api:efl:ui:factory|Efl.Ui.Factory]]%% keeps a cache of objects, this will be called when objects are pulled from the cache.%%
//Since 1.23//
{{page>:develop:api-include:efl:ui:factory:event:item_building:description&nouser&nolink&nodate}}
===== Signature =====
item,building: Efl.Gfx.Entity;
===== C information =====
EFL_UI_FACTORY_EVENT_ITEM_BUILDING(Efl_Gfx_Entity *)
===== C usage =====
static void
on_efl_ui_factory_event_item_building(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_BUILDING, on_efl_ui_factory_event_item_building, d);
}