xcb::xinput

Type Alias DeviceButtonReleaseEvent

source
pub type DeviceButtonReleaseEvent = DeviceKeyPressEvent;
Expand description

The DeviceButtonReleaseEvent event.

Aliased Type§

struct DeviceButtonReleaseEvent { /* private fields */ }

Implementations

source§

impl DeviceKeyPressEvent

source

pub fn new( event_base: u8, detail: u8, time: Timestamp, root: Window, event: Window, child: Window, root_x: i16, root_y: i16, event_x: i16, event_y: i16, state: KeyButMask, same_screen: bool, device_id: u8, ) -> DeviceKeyPressEvent

source

pub fn response_type(&self) -> u8

source

pub fn detail(&self) -> u8

source

pub fn sequence(&self) -> u16

source

pub fn time(&self) -> Timestamp

source

pub fn root(&self) -> Window

source

pub fn event(&self) -> Window

source

pub fn child(&self) -> Window

source

pub fn root_x(&self) -> i16

source

pub fn root_y(&self) -> i16

source

pub fn event_x(&self) -> i16

source

pub fn event_y(&self) -> i16

source

pub fn state(&self) -> KeyButMask

source

pub fn same_screen(&self) -> bool

source

pub fn device_id(&self) -> u8

Trait Implementations

source§

impl BaseEvent for DeviceKeyPressEvent

source§

const EXTENSION: Option<Extension> = _

The extension associated to this event, or None for the main protocol
source§

const NUMBER: u32 = 1u32

The number associated to this event
source§

fn is_from_send_event(&self) -> bool

Check whether this event was emitted by the SendEvent request See [crate::x::SendEvent].
source§

impl Debug for DeviceKeyPressEvent

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for DeviceKeyPressEvent

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl Raw<xcb_generic_event_t> for DeviceKeyPressEvent

source§

unsafe fn from_raw(raw: *mut xcb_generic_event_t) -> Self

Build Self from a raw pointer Read more
source§

fn as_raw(&self) -> *mut xcb_generic_event_t

Obtain the raw pointer representation
source§

fn into_raw(self) -> *mut T

Convert self into a raw pointer Read more
source§

impl Send for DeviceKeyPressEvent

source§

impl Sync for DeviceKeyPressEvent