zxdg_exported_v1¤
wayland.zxdg_exported_v1 ¤
An exported surface handle
An xdg_exported object represents an exported reference to a surface. The exported surface may be referenced as long as the xdg_exported object not destroyed. Destroying the xdg_exported invalidates any relationship the importer may have established using xdg_imported.
Methods:
events
handle ¤
The exported surface handle
The handle event contains the unique handle of this exported surface reference. It may be shared with any client, which then can use it to import the surface by calling xdg_importer.import. A handle may be used to import the surface multiple times.
Parameters:
destroy ¤
destroy() -> None
Unexport the exported surface
Revoke the previously exported surface. This invalidates any relationship the importer may have set up using the xdg_imported created given the handle sent via xdg_exported.handle.
on_handle ¤
on_handle(handle: str) -> None
The exported surface handle.
Override to handle wayland.zxdg_exported_v1.events.handle
.