[−][src]Trait wayland_protocols::unstable::xdg_decoration::v1::client::zxdg_decoration_manager_v1::RequestsTrait
Required methods
fn destroy(&self)
destroy the decoration manager object
Destroy the decoration manager. This doesn't destroy objects created with the manager.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn get_toplevel_decoration<F>(
&self,
toplevel: &Proxy<XdgToplevel>,
implementor: F
) -> Result<Proxy<ZxdgToplevelDecorationV1>, ()> where
F: FnOnce(NewProxy<ZxdgToplevelDecorationV1>) -> Proxy<ZxdgToplevelDecorationV1>,
&self,
toplevel: &Proxy<XdgToplevel>,
implementor: F
) -> Result<Proxy<ZxdgToplevelDecorationV1>, ()> where
F: FnOnce(NewProxy<ZxdgToplevelDecorationV1>) -> Proxy<ZxdgToplevelDecorationV1>,
create a new toplevel decoration object
Create a new decoration object associated with the given toplevel.
Creating an xdg_toplevel_decoration from an xdg_toplevel which has a buffer attached or committed is a client error, and any attempts by a client to attach or manipulate a buffer prior to the first xdg_toplevel_decoration.configure event must also be treated as errors.
Implementations on Foreign Types
impl RequestsTrait for Proxy<ZxdgDecorationManagerV1>
[src]
fn destroy(&self)
[src]
fn get_toplevel_decoration<F>(
&self,
toplevel: &Proxy<XdgToplevel>,
implementor: F
) -> Result<Proxy<ZxdgToplevelDecorationV1>, ()> where
F: FnOnce(NewProxy<ZxdgToplevelDecorationV1>) -> Proxy<ZxdgToplevelDecorationV1>,
[src]
&self,
toplevel: &Proxy<XdgToplevel>,
implementor: F
) -> Result<Proxy<ZxdgToplevelDecorationV1>, ()> where
F: FnOnce(NewProxy<ZxdgToplevelDecorationV1>) -> Proxy<ZxdgToplevelDecorationV1>,