Skip to content

zxdg_exporter_v1¤

wayland.zxdg_exporter_v1 ¤

Interface for exporting surfaces

A global interface used for exporting surfaces that can later be imported using xdg_importer.

Methods:

  • destroy

    Destroy the xdg_exporter object

  • export

    Export a surface

destroy ¤

destroy() -> None

Destroy the xdg_exporter object

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

export ¤

Export a surface

The export request exports the passed surface so that it can later be imported via xdg_importer. When called, a new xdg_exported object will be created and xdg_exported.handle will be sent immediately. See the corresponding interface and event for details.

A surface may be exported multiple times, and each exported handle may be used to create an xdg_imported multiple times. Only xdg_surface surfaces may be exported.

Parameters:

Returns: