~~Title: Efl.Ui.Factory: item,constructing~~ ===== Description ===== %%Event emitted when an item is under construction (between the %%[[:develop:api:efl:object:method:constructor|Efl.Object.constructor]]%% and %%[[:develop:api:efl:object:method:finalize|Efl.Object.finalize]]%% call on the item). Note: If the %%[[:develop:api:efl:ui:factory|Efl.Ui.Factory]]%% keeps a cache of objects, this won't be called when objects are pulled from the cache.%% //Since 1.23// {{page>:develop:api-include:efl:ui:factory:event:item_constructing:description&nouser&nolink&nodate}} ===== Signature ===== item,constructing: Efl.Gfx.Entity; ===== C information ===== EFL_UI_FACTORY_EVENT_ITEM_CONSTRUCTING(Efl_Gfx_Entity *) ===== C usage ===== static void on_efl_ui_factory_event_item_constructing(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_CONSTRUCTING, on_efl_ui_factory_event_item_constructing, d); }