Enum wayland_client::protocol::wl_seat::Request [−][src]
pub enum Request { GetPointer { id: Proxy<WlPointer>, }, GetKeyboard { id: Proxy<WlKeyboard>, }, GetTouch { id: Proxy<WlTouch>, }, Release, }
Variants
GetPointer
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.
Fields of GetPointer
id: Proxy<WlPointer> |
GetKeyboard
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.
Fields of GetKeyboard
id: Proxy<WlKeyboard> |
GetTouch
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.
Fields of GetTouch
id: Proxy<WlTouch> |
Release
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, once sent this object cannot be used any longer.
Only available since version 5 of the interface
Trait Implementations
impl MessageGroup for Request
[src]
impl MessageGroup for Request
const MESSAGES: &'static [MessageDesc]
MESSAGES: &'static [MessageDesc] = &[super::MessageDesc{name: "get_pointer", since: 1, signature: &[super::ArgumentType::NewId],}, super::MessageDesc{name: "get_keyboard", since: 1, signature: &[super::ArgumentType::NewId],}, super::MessageDesc{name: "get_touch", since: 1, signature: &[super::ArgumentType::NewId],}, super::MessageDesc{name: "release", since: 5, signature: &[],}]
Wire representation of this MessageGroup
type Map = ProxyMap
fn is_destructor(&self) -> bool
[src]
fn is_destructor(&self) -> bool
Whether this message is a destructor Read more
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
[src]
fn child<Meta: ObjectMetadata>(
opcode: u16,
version: u32,
meta: &Meta
) -> Option<Object<Meta>>
Retrieve the child Object
associated with this message if any
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
[src]
fn from_raw(msg: Message, map: &mut Self::Map) -> Result<Self, ()>
Construct a message from its raw representation
fn into_raw(self, sender_id: u32) -> Message
[src]
fn into_raw(self, sender_id: u32) -> Message
Turn this message into its raw representation