Callbacks

WaylandToplevelExported (toplevel, handle, *user_data)

Details

GdkWayland.WaylandToplevelExported(toplevel, handle, *user_data)
Parameters:
  • toplevel (GdkWayland.WaylandToplevel) – the GdkToplevel that is exported

  • handle (str) – the handle

  • user_data (object or None) – user data that was passed to [method`GdkWayland`.WaylandToplevel.export_handle]

Callback that gets called when the handle for a surface has been obtained from the Wayland compositor.

This callback is used in [method`GdkWayland`.WaylandToplevel.export_handle].

The handle can be passed to other processes, for the purpose of marking surfaces as transient for out-of-process surfaces.