Skip to content

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 the xdg_importer object

  • import_

    Import a surface

destroy ¤

destroy() -> None

Destroy the xdg_importer object

Notify the compositor that the xdg_importer object will no longer be used.

import_ ¤

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:

  • handle ¤

    (str) –

    The exported surface handle

Returns: