Asynchronously obtains a handle for a surface that can be passed to other processes.
When the handle has been obtained, callback
will be called.
It is an error to call this function on a surface that is already exported.
When the handle is no longer needed, [[email protected]_handle] should be called to clean up resources.
The main purpose for obtaining a handle is to mark a surface from another surface as transient for this one, see [ [email protected]_transient_for_exported].
Note that this API depends on an unstable Wayland protocol, and thus may require changes in the future.
this |
the `GdkToplevel` to obtain a handle for |
callback |
callback to call with the handle |
destroy_func |
destroy notify for |
user_data |
user data for |
true if the handle has been requested, false if an error occurred. |