Clutter.ButtonEvent
Description: Reference for Clutter.ButtonEvent

### Struct

# ClutterButtonEvent

#### Description [src]

    struct ClutterButtonEvent {
      ClutterEventType type;
      guint32 time;
      ClutterEventFlags flags;
      ClutterStage* stage;
      gfloat x;
      gfloat y;
      ClutterModifierType modifier_state;
      guint32 button;
      gdouble* axes;
      ClutterInputDevice* device;
      uint32_t evdev_code;
    }

Button event.

The event coordinates are relative to the stage that received the event, and can be transformed into actor-relative coordinates by using clutter_actor_transform_stage_point().

###### Structure members

`type` | Event type.
`time` | Event time.
`flags` | Event flags.
`stage` | Event source stage.
`x` | Event X coordinate, relative to the stage.
`y` | Event Y coordinate, relative to the stage.
`modifier_state` | Button modifiers.
`button` | Event button.
`axes` | Reserved for future use.
`device` | The device that originated the event. If you want the physical device the event originated from, use `clutter_event_get_source_device()`
`evdev_code` | No description available.