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 [[email protected]_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 [[email protected]_handle]


Namespace: Gdk.Wayland
Package: gtk4-wayland



2022 vala-language.org