[][src]Trait wayland_protocols::unstable::xdg_foreign::v2::client::zxdg_imported_v2::RequestsTrait

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

Required methods

fn destroy(&self)

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.

fn set_parent_of(&self, surface: &Proxy<WlSurface>)

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.

Loading content...

Implementations on Foreign Types

impl RequestsTrait for Proxy<ZxdgImportedV2>[src]

Loading content...

Implementors

Loading content...