[−][src]Trait wayland_client::protocol::wl_shell::RequestsTrait
Required methods
fn get_shell_surface<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WlShellSurface>, ()> where
F: FnOnce(NewProxy<WlShellSurface>) -> Proxy<WlShellSurface>,
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WlShellSurface>, ()> where
F: FnOnce(NewProxy<WlShellSurface>) -> Proxy<WlShellSurface>,
create a shell surface from a surface
Create a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.
Only one shell surface can be associated with a given surface.
Implementors
impl RequestsTrait for Proxy<WlShell>
[src]
fn get_shell_surface<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WlShellSurface>, ()> where
F: FnOnce(NewProxy<WlShellSurface>) -> Proxy<WlShellSurface>,
[src]
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WlShellSurface>, ()> where
F: FnOnce(NewProxy<WlShellSurface>) -> Proxy<WlShellSurface>,