[−][src]Trait wayland_client::protocol::wl_compositor::RequestsTrait
Required methods
fn create_surface<F>(&self, implementor: F) -> Result<Proxy<WlSurface>, ()> where
F: FnOnce(NewProxy<WlSurface>) -> Proxy<WlSurface>,
F: FnOnce(NewProxy<WlSurface>) -> Proxy<WlSurface>,
create new surface
Ask the compositor to create a new surface.
fn create_region<F>(&self, implementor: F) -> Result<Proxy<WlRegion>, ()> where
F: FnOnce(NewProxy<WlRegion>) -> Proxy<WlRegion>,
F: FnOnce(NewProxy<WlRegion>) -> Proxy<WlRegion>,
create new region
Ask the compositor to create a new region.