ToplevelExported


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate void ToplevelExported (Toplevel toplevel, string 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.

Parameters:

toplevel

the `GdkToplevel` that is exported

handle

the handle

user_data

user data that was passed to [method@GdkWayland.WaylandToplevel.export_handle]


Namespace: Gdk.Wayland
Package: gtk4-wayland