Virtual function handling input events on the widget.

This method should return true if the event has been processed. Only key down, key up and pointer wheel events will be propagated through this function.

It is common for the event to be also marked as processed as in Efl.Input.Event.processed, if this operation was successful. This makes sure other widgets will not also process this input event.

Since 1.22


widget_input_event_handler @protected {
    params {
        @in eo_event: const(event);
        @in source: Efl.Canvas.Object;
    return: bool;

C signature

Eina_Bool efl_ui_widget_input_event_handler(Eo *obj, const Efl_Event *eo_event, Efl_Canvas_Object *source);


  • eo_event (in) - EO event struct with an Efl.Input.Event as info.
  • source (in) - Source object where the event originated. Often same as this.

Implemented by