Skip to content

wl_callback¤

wayland.wl_callback ¤

Callback object

Clients can handle the 'done' event to get notified when the related request is done.

Note, because wl_callback objects are created from multiple independent factory interfaces, the wl_callback interface is frozen at version 1.

Methods:

events

done ¤

done(callback_data: int) -> None

Done event

Notify the client when the related request is done.

Parameters:

  • callback_data ¤

    (int) –

    Request-specific data for the callback

on_done ¤

on_done(callback_data: int) -> None

Done event.

Override to handle wayland.wl_callback.events.done.