Struct xcb::x::MotionNotifyEvent[][src]

pub struct MotionNotifyEvent { /* fields omitted */ }
Expand description

a key was pressed

Implementations

The keycode (a number representing a physical key on the keyboard) of the key which was pressed.

Time when the event was generated (in milliseconds).

The root window of child.

The X coordinate of the pointer relative to the root window at the time of the event.

The Y coordinate of the pointer relative to the root window at the time of the event.

If same_screen is true, this is the X coordinate relative to the event window’s origin. Otherwise, event_x will be set to zero.

If same_screen is true, this is the Y coordinate relative to the event window’s origin. Otherwise, event_y will be set to zero.

The logical state of the pointer buttons and modifier keys just prior to the event.

Whether the event window is on the same screen as the root window.

Trait Implementations

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

The number associated to this event

Build an event from a raw pointer Read more

Convert the event into a raw pointer Read more

Obtain the event as a raw pointer

Access to the raw event data

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

type to external context necessary to compute the length

Compute the length of serialized data of an instance starting by ptr. Read more

Compute the length of wired serialized data of self

Serialize self over the X wire and returns how many bytes were written. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.