Struct wayland_client::wayland::shell::WlShell [] [src]

pub struct WlShell {
    // some fields omitted
}

create desktop-style surfaces

This interface is implemented by servers that provide desktop-style user interfaces.

It allows clients to associate a wl_shell_surface with a basic surface.

Methods

impl WlShell

fn get_shell_surface(&self, surface: &WlSurface) -> 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.

Trait Implementations

impl Sync for WlShell

impl Send for WlShell

impl Proxy for WlShell

fn ptr(&self) -> *mut wl_proxy

fn interface() -> *mut wl_interface

fn interface_name() -> &'static str

fn version() -> u32

fn id(&self) -> ProxyId

unsafe fn from_ptr(ptr: *mut wl_proxy) -> WlShell

unsafe fn from_ptr_no_own(ptr: *mut wl_proxy) -> WlShell

fn set_evt_iterator(&mut self, evt: &EventIterator)

impl Debug for WlShell

fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>

impl Drop for WlShell

fn drop(&mut self)