Struct wayland_client::protocol::wl_seat::WlSeat
[−]
[src]
pub struct WlSeat { /* fields omitted */ }
Methods
impl WlSeat
[src]
fn get_pointer(&self) -> RequestResult<WlPointer>
return pointer object
The ID provided will be initialized to the wl_pointer interface for this seat.
This request only takes effect if the seat has the pointer capability, or has had the pointer capability in the past. It is a protocol violation to issue this request on a seat that has never had the pointer capability.
fn get_keyboard(&self) -> RequestResult<WlKeyboard>
return keyboard object
The ID provided will be initialized to the wl_keyboard interface for this seat.
This request only takes effect if the seat has the keyboard capability, or has had the keyboard capability in the past. It is a protocol violation to issue this request on a seat that has never had the keyboard capability.
fn get_touch(&self) -> RequestResult<WlTouch>
return touch object
The ID provided will be initialized to the wl_touch interface for this seat.
This request only takes effect if the seat has the touch capability, or has had the touch capability in the past. It is a protocol violation to issue this request on a seat that has never had the touch capability.
fn release(&self) -> RequestResult<()>
release the seat object
Using this request a client can tell the server that it is not going to use the seat object anymore.
This is a destructor, you cannot send requests to this object once this method is called.
Trait Implementations
impl Send for WlSeat
[src]
impl Sync for WlSeat
[src]
impl Proxy for WlSeat
[src]
fn ptr(&self) -> *mut wl_proxy
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_proxy) -> WlSeat
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_proxy) -> WlSeat
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: &WlSeat) -> 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