Function
GdkWaylandWaylandToplevelExported
Declaration
void
(* GdkWaylandToplevelExported) (
GdkToplevel* toplevel,
const char* handle,
gpointer user_data
)
Description [src]
Callback that gets called when the handle for a surface has been obtained from the Wayland compositor.
This callback is used in gdk_wayland_toplevel_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
-
Type:
GdkWaylandToplevel
The
GdkToplevel
that is exported.The data is owned by the caller of the function. handle
-
Type:
const char*
The handle.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. user_data
-
Type:
gpointer
User data that was passed to
gdk_wayland_toplevel_export_handle()
.The argument can be NULL
.The data is owned by the caller of the function.