Struct xcb::ffi::xproto::xcb_button_press_event_t [] [src]

#[repr(C)]
pub struct xcb_button_press_event_t { pub response_type: u8, pub detail: xcb_button_t, pub sequence: u16, pub time: xcb_timestamp_t, pub root: xcb_window_t, pub event: xcb_window_t, pub child: xcb_window_t, pub root_x: i16, pub root_y: i16, pub event_x: i16, pub event_y: i16, pub state: u16, pub same_screen: u8, pub pad0: u8, }

a mouse button was pressed/released

Fields

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

impl Copy for xcb_button_press_event_t
[src]

impl Clone for xcb_button_press_event_t
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more