[−][src]Struct wayland_protocols::unstable::tablet::v2::server::zwp_tablet_pad_v2::ZwpTabletPadV2
Implementations
impl ZwpTabletPadV2
[src]
pub fn group(&self, pad_group: &ZwpTabletPadGroupV2)
[src]
group announced
Sent on wp_tablet_pad initialization to announce available groups. One event is sent for each pad group available.
This event is sent in the initial burst of events before the wp_tablet_pad.done event. At least one group will be announced.
pub fn path(&self, path: String)
[src]
path to the device
A system-specific device path that indicates which device is behind this wp_tablet_pad. This information may be used to gather additional information about the device, e.g. through libwacom.
The format of the path is unspecified, it may be a device node, a sysfs path, or some other identifier. It is up to the client to identify the string provided.
This event is sent in the initial burst of events before the wp_tablet_pad.done event.
pub fn buttons(&self, buttons: u32)
[src]
buttons announced
Sent on wp_tablet_pad initialization to announce the available buttons.
This event is sent in the initial burst of events before the wp_tablet_pad.done event. This event is only sent when at least one button is available.
pub fn done(&self)
[src]
pad description event sequence complete
This event signals the end of the initial burst of descriptive events. A client may consider the static description of the pad to be complete and finalize initialization of the pad.
pub fn button(&self, time: u32, button: u32, state: ButtonState)
[src]
physical button state
Sent whenever the physical state of a button changes.
pub fn enter(&self, serial: u32, tablet: &ZwpTabletV2, surface: &WlSurface)
[src]
enter event
Notification that this pad is focused on the specified surface.
pub fn leave(&self, serial: u32, surface: &WlSurface)
[src]
enter event
Notification that this pad is no longer focused on the specified surface.
pub fn removed(&self)
[src]
pad removed event
Sent when the pad has been removed from the system. When a tablet is removed its pad(s) will be removed too.
When this event is received, the client must destroy all rings, strips and groups that were offered by this pad, and issue wp_tablet_pad.destroy the pad itself.
Trait Implementations
impl AsRef<Resource<ZwpTabletPadV2>> for ZwpTabletPadV2
[src]
impl Clone for ZwpTabletPadV2
[src]
fn clone(&self) -> ZwpTabletPadV2
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZwpTabletPadV2
[src]
impl Eq for ZwpTabletPadV2
[src]
impl From<Resource<ZwpTabletPadV2>> for ZwpTabletPadV2
[src]
impl From<ZwpTabletPadV2> for Resource<ZwpTabletPadV2>
[src]
fn from(value: ZwpTabletPadV2) -> Self
[src]
impl Interface for ZwpTabletPadV2
[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
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<ZwpTabletPadV2> for ZwpTabletPadV2
[src]
fn eq(&self, other: &ZwpTabletPadV2) -> bool
[src]
fn ne(&self, other: &ZwpTabletPadV2) -> bool
[src]
impl StructuralEq for ZwpTabletPadV2
[src]
impl StructuralPartialEq for ZwpTabletPadV2
[src]
Auto Trait Implementations
impl !RefUnwindSafe for ZwpTabletPadV2
impl Send for ZwpTabletPadV2
impl Sync for ZwpTabletPadV2
impl Unpin for ZwpTabletPadV2
impl !UnwindSafe for ZwpTabletPadV2
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,