zxdg_importer_v1¤
wayland.zxdg_importer_v1 ¤
Interface for importing surfaces
A global interface used for importing surfaces exported by xdg_exporter. With this interface, a client can create a reference to a surface of another client.
Methods:
destroy ¤
destroy() -> None
Destroy the xdg_importer
object
Notify the compositor that the xdg_importer object will no longer be used.
import_ ¤
import_(handle: str) -> zxdg_imported_v1
Import a surface
The import request imports a surface from any client given a handle retrieved by exporting said surface using xdg_exporter.export. When called, a new xdg_imported object will be created. This new object represents the imported surface, and the importing client can manipulate its relationship using it. See xdg_imported for details.
Parameters:
Returns:
-
zxdg_imported_v1
(zxdg_imported_v1
) –The created object