gdk-sharp 2.12.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Gdk.Event Used for button press and button release events.

Used for button press and button release events. The type field will be one of , , , and

Double and triple-clicks result in a sequence of events being received. For double-clicks the order of events will be:

Note that the first click is received just like a normal button press, while the second click results in a being received just after the . Triple-clicks are very similar to double-clicks, except that is inserted after the third click. The order of the events is:

For a double click to occur, the second button press must occur within 1/4 of a second of the first. For a triple click to occur, the third button press must also occur within 1/2 second of the first button press.

- Constructor
  2.12.0.0
  a to a
  Internal constructor
  This constructor is internal and should not be used.
- Property
  2.12.0.0
  System.Double[] x, y translated to the axes of device, or null if device is the mouse. a
- Property
  2.12.0.0
  System.UInt32 The button which was pressed or released, numbered from 1 to 5. Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button. On 2-button mice, the middle button can often be simulated by pressing both mouse buttons together. a
- Property
  2.12.0.0
  Gdk.Device The device where the event originated. a
- Property
  2.12.0.0
  Gdk.ModifierType A bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. a
- Property
  2.12.0.0
  System.UInt32 The time of the event in milliseconds. a
- Property
  2.12.0.0
  System.Double The x coordinate of the pointer relative to the window. a
- Property
  2.12.0.0
  System.Double The x coordinate of the pointer relative to the root of the screen. a
- Property
  2.12.0.0
  System.Double The y coordinate of the pointer relative to the window. a
- Property
  2.12.0.0
  System.Double The y coordinate of the pointer relative to the root of the screen. a