Struct wayland_client::core::shell::Shell
[−]
[src]
pub struct Shell {
// some fields omitted
}A handle to a wayland wl_shell.
This reprensent the desktop window. A surface must be bound to it in order to be drawed on screen.
Like other global objects, this handle can be cloned.
Methods
impl Shell
fn get_shell_surface<S>(&self, surface: S) -> ShellSurface<S> where S: Surface
Assigns the shell_surface role to given surface.
The surface will now behave as a generic window, see ShellSurface documentation for more details.