[][src]Struct wayland_protocols::unstable::tablet::v2::server::zwp_tablet_seat_v2::ZwpTabletSeatV2

pub struct ZwpTabletSeatV2(_);

Implementations

impl ZwpTabletSeatV2[src]

pub fn tablet_added(&self, id: &ZwpTabletV2)[src]

new device notification

This event is sent whenever a new tablet becomes available on this seat. This event only provides the object id of the tablet, any static information about the tablet (device name, vid/pid, etc.) is sent through the wp_tablet interface.

pub fn tool_added(&self, id: &ZwpTabletToolV2)[src]

a new tool has been used with a tablet

This event is sent whenever a tool that has not previously been used with a tablet comes into use. This event only provides the object id of the tool; any static information about the tool (capabilities, type, etc.) is sent through the wp_tablet_tool interface.

pub fn pad_added(&self, id: &ZwpTabletPadV2)[src]

new pad notification

This event is sent whenever a new pad is known to the system. Typically, pads are physically attached to tablets and a pad_added event is sent immediately after the wp_tablet_seat.tablet_added. However, some standalone pad devices logically attach to tablets at runtime, and the client must wait for wp_tablet_pad.enter to know the tablet a pad is attached to.

This event only provides the object id of the pad. All further features (buttons, strips, rings) are sent through the wp_tablet_pad interface.

Trait Implementations

impl AsRef<Resource<ZwpTabletSeatV2>> for ZwpTabletSeatV2[src]

impl Clone for ZwpTabletSeatV2[src]

impl Debug for ZwpTabletSeatV2[src]

impl Eq for ZwpTabletSeatV2[src]

impl From<Resource<ZwpTabletSeatV2>> for ZwpTabletSeatV2[src]

impl From<ZwpTabletSeatV2> for Resource<ZwpTabletSeatV2>[src]

impl Interface for ZwpTabletSeatV2[src]

type Request = Request

Set of requests associated to this interface Read more

type Event = Event

Set of events associated to this interface Read more

impl PartialEq<ZwpTabletSeatV2> for ZwpTabletSeatV2[src]

impl StructuralEq for ZwpTabletSeatV2[src]

impl StructuralPartialEq for ZwpTabletSeatV2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.