Type Definition xcb::xkb::ExtensionDeviceNotifyEvent [−][src]
type ExtensionDeviceNotifyEvent = Event<xcb_xkb_extension_device_notify_event_t>;
Implementations
impl ExtensionDeviceNotifyEvent
[src]
pub fn xkb_type(&self) -> u8
[src]
pub fn time(&self) -> Timestamp
[src]
pub fn device_i_d(&self) -> u8
[src]
pub fn reason(&self) -> u16
[src]
pub fn led_class(&self) -> u16
[src]
pub fn led_i_d(&self) -> u16
[src]
pub fn leds_defined(&self) -> u32
[src]
pub fn led_state(&self) -> u32
[src]
pub fn first_button(&self) -> u8
[src]
pub fn n_buttons(&self) -> u8
[src]
pub fn supported(&self) -> u16
[src]
pub fn unsupported(&self) -> u16
[src]
pub fn new(
xkb_type: u8,
time: Timestamp,
device_i_d: u8,
reason: u16,
led_class: u16,
led_i_d: u16,
leds_defined: u32,
led_state: u32,
first_button: u8,
n_buttons: u8,
supported: u16,
unsupported: u16
) -> ExtensionDeviceNotifyEvent
[src]
xkb_type: u8,
time: Timestamp,
device_i_d: u8,
reason: u16,
led_class: u16,
led_i_d: u16,
leds_defined: u32,
led_state: u32,
first_button: u8,
n_buttons: u8,
supported: u16,
unsupported: u16
) -> ExtensionDeviceNotifyEvent
Constructs a new ExtensionDeviceNotifyEvent
response_type
will be set automatically to EXTENSION_DEVICE_NOTIFY