# Struct gdk_sys::GdkEventButton [−] [src]

    #[repr(C)]
    pub struct GdkEventButton {
        pub type_: GdkEventType,
        pub window: *mut GdkWindow,
        pub send_event: i8,
        pub time: u32,
        pub x: c_double,
        pub y: c_double,
        pub axes: *mut c_double,
        pub state: GdkModifierType,
        pub button: c_uint,
        pub device: *mut GdkDevice,
        pub x_root: c_double,
        pub y_root: c_double,
    }

## Fields

`type_: GdkEventType` `window: *mut GdkWindow` `send_event: i8` `time: u32` `x: c_double` `y: c_double` `axes: *mut c_double` `state: GdkModifierType` `button: c_uint` `device: *mut GdkDevice` `x_root: c_double` `y_root: c_double`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)