~~Title: Efl.Gfx.Entity: position,changed~~
===== Description =====
%%Object was moved, its position during the event is the new one.%%
//Since 1.22//
{{page>:develop:api-include:efl:gfx:entity:event:position_changed:description&nouser&nolink&nodate}}
===== Signature =====
position,changed: Eina.Position2D;
===== C information =====
EFL_GFX_ENTITY_EVENT_POSITION_CHANGED(Eina_Position2D)
===== C usage =====
static void
on_efl_gfx_entity_event_position_changed(void *data, const Efl_Event *event)
{
Eina_Position2D 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_GFX_ENTITY_EVENT_POSITION_CHANGED, on_efl_gfx_entity_event_position_changed, d);
}