Description

Called when the object receives a long press, event_info is the button that got pressed

Since 1.23

Signature

longpressed: int;

C information

C usage

static void
on_efl_input_event_longpressed(void *data, const Efl_Event *event)
{
    int 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_INPUT_EVENT_LONGPRESSED, on_efl_input_event_longpressed, d);
}