Struct

ClutterScrollEvent

Description [src]

struct ClutterScrollEvent {
  ClutterEventType type;
  guint32 time;
  ClutterEventFlags flags;
  ClutterStage* stage;
  gfloat x;
  gfloat y;
  ClutterScrollDirection direction;
  ClutterModifierType modifier_state;
  gdouble* axes;
  ClutterInputDevice* device;
  ClutterScrollSource scroll_source;
  ClutterScrollFinishFlags finish_flags;
}

Scroll wheel (or similar device) event.

Structure members
type

Event type.

time

Event time.

flags

Event flags.

stage

Event source stage.

x

Event X coordinate.

y

Event Y coordinate.

direction

Direction of the scrolling.

modifier_state

Button modifiers.

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()

scroll_source

The source of scroll events. This field is available since 1.26

finish_flags

The axes that were stopped in this event. This field is available since 1.26

Available since:0.2