Description

Add a seat to the focus list.

Evas allows the Efl.Canvas.Object to be focused by multiple seats at the same time. This function adds a new seat to the focus list. In other words, after the seat is added to the list this object will now be also focused by this new seat.

This function generates an @ref EFL_CANVAS_OBJECT_EVENT_FOCUS_DEVICE_IN event.

@note The old focus APIs ( @ref evas_object_focus_get, @ref evas_object_focus_set, Efl.Canvas.Object.key_grab) will still work, however they will only act on the default seat.

Since 1.19

Signature

seat_focus_add {
    params {
        @in seat: free(Efl.Input.Device, efl_del);
    }
    return: bool;
}

C signature

Parameters

  • seat (in) - The seat that should be added to the focus list. Use null for the default seat.

Implemented by

  • Efl.Canvas.Object.seat_focus_add