Struct wayland_client::protocol::wl_shell::WlShell
[−]
[src]
pub struct WlShell { /* fields omitted */ }
Methods
impl WlShell
[src]
fn get_shell_surface(&self,
surface: &WlSurface)
-> RequestResult<WlShellSurface>
surface: &WlSurface)
-> RequestResult<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 Send for WlShell
[src]
impl Sync for WlShell
[src]
impl Proxy for WlShell
[src]
fn ptr(&self) -> *mut wl_proxy
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_proxy) -> WlShell
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_proxy) -> WlShell
Create an instance from a wayland pointer Read more
fn interface_ptr() -> *const wl_interface
Pointer to the interface representation
fn interface_name() -> &'static str
Internal wayland name of this interface
fn supported_version() -> u32
Max version of this interface supported
fn version(&self) -> u32
Current version of the interface this proxy is instanciated with
fn is_alive(&self) -> bool
Check if the proxt behind this handle is actually still alive
fn equals(&self, other: &WlShell) -> bool
Check of two handles are actually the same wayland object Read more
fn set_user_data(&self, ptr: *mut ())
Set a pointer associated as user data on this proxy Read more
fn get_user_data(&self) -> *mut ()
Get the pointer associated as user data on this proxy Read more