[−][src]Trait wayland_protocols::unstable::xdg_foreign::v1::client::zxdg_importer_v1::RequestsTrait
Required methods
fn destroy(&self)
destroy the xdg_importer object
Notify the compositor that the xdg_importer object will no longer be used.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn import<F>(
&self,
handle: String,
implementor: F
) -> Result<Proxy<ZxdgImportedV1>, ()> where
F: FnOnce(NewProxy<ZxdgImportedV1>) -> Proxy<ZxdgImportedV1>,
&self,
handle: String,
implementor: F
) -> Result<Proxy<ZxdgImportedV1>, ()> where
F: FnOnce(NewProxy<ZxdgImportedV1>) -> Proxy<ZxdgImportedV1>,
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.
Implementations on Foreign Types
impl RequestsTrait for Proxy<ZxdgImporterV1>
[src]
fn destroy(&self)
[src]
fn import<F>(
&self,
handle: String,
implementor: F
) -> Result<Proxy<ZxdgImportedV1>, ()> where
F: FnOnce(NewProxy<ZxdgImportedV1>) -> Proxy<ZxdgImportedV1>,
[src]
&self,
handle: String,
implementor: F
) -> Result<Proxy<ZxdgImportedV1>, ()> where
F: FnOnce(NewProxy<ZxdgImportedV1>) -> Proxy<ZxdgImportedV1>,