Description

Index of the sub-widget currently being displayed. Fractional values indicate a position in-between sub-widgets. For instance, when transitioning from sub-widget 2 to sub-widget 3, this event should be emitted with monotonically increasing values ranging from 2.0 to 3.0. Animations can perform any movement they want, but the reported pos_update must move in the same direction.

Signature

pos_update: double;

C information

EFL_UI_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE(double)

C usage

static void
on_efl_ui_spotlight_manager_event_pos_update(void *data, const Efl_Event *event)
{
    double 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_SPOTLIGHT_MANAGER_EVENT_POS_UPDATE, on_efl_ui_spotlight_manager_event_pos_update, d);
}