Skip to content

zxdg_importer_v2¤

wayland.zxdg_importer_v2 ¤

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_toplevel ¤

import_toplevel(handle: str) -> zxdg_imported_v2

Import a toplevel surface

The import_toplevel request imports a surface from any client given a handle retrieved by exporting said surface using xdg_exporter.export_toplevel. 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:

  • handle ¤

    (str) –

    The exported surface handle

Returns: