pub trait RequestsTrait {
    fn destroy(&self);
    fn set_parent_of(&self, surface: &Proxy<WlSurface>);
}

Required Methods§

destroy the xdg_imported object

Notify the compositor that it will no longer use the xdg_imported object. Any relationship that may have been set up will at this point be invalidated.

This is a destructor, you cannot send requests to this object any longer once this method is called.

set as the parent of some surface

Set the imported surface as the parent of some surface of the client. The passed surface must be a xdg_toplevel equivalent. Calling this function sets up a surface to surface relation with the same stacking and positioning semantics as xdg_toplevel.set_parent.

Implementations on Foreign Types§

Implementors§