Struct x11rb::protocol::xproto::MotionNotifyEvent [−][src]
pub struct MotionNotifyEvent {}
Expand description
a key was pressed.
Fields
detail
- The keycode (a number representing a physical key on the keyboard) of the key which was pressed.time
- Time when the event was generated (in milliseconds).root
- The root window ofchild
.same_screen
- Whether theevent
window is on the same screen as theroot
window.event_x
- Ifsame_screen
is true, this is the X coordinate relative to theevent
window’s origin. Otherwise,event_x
will be set to zero.event_y
- Ifsame_screen
is true, this is the Y coordinate relative to theevent
window’s origin. Otherwise,event_y
will be set to zero.root_x
- The X coordinate of the pointer relative to theroot
window at the time of the event.root_y
- The Y coordinate of the pointer relative to theroot
window at the time of the event.state
- The logical state of the pointer buttons and modifier keys just prior to the event.
See
GrabKey
: requestGrabKeyboard
: request
Fields
response_type: u8
detail: Motion
sequence: u16
time: Timestamp
root: Window
event: Window
child: Window
root_x: i16
root_y: i16
event_x: i16
event_y: i16
state: u16
same_screen: bool
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MotionNotifyEvent
impl Send for MotionNotifyEvent
impl Sync for MotionNotifyEvent
impl Unpin for MotionNotifyEvent
impl UnwindSafe for MotionNotifyEvent
Blanket Implementations
Mutably borrows from an owned value. Read more