gdk.event_touchpad_pinch

Module for [EventTouchpadPinch] class

Types 1

Generated during touchpad swipe gestures.

Fields
Methods
void * _cPtr() nothrow
gdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.TouchpadPinch])
void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.TouchpadPinch])
gdk.window.Window window() @property nothrowGet `window` field. Returns: the window which received the event
void window(gdk.window.Window propval) @property nothrowSet `window` field. Params: propval = the window which received the event
byte sendEvent() @property nothrowGet `sendEvent` field. Returns: true if the event was sent explicitly
void sendEvent(byte propval) @property nothrowSet `sendEvent` field. Params: propval = true if the event was sent explicitly
byte phase() @property nothrowGet `phase` field. Returns: the current phase of the gesture
void phase(byte propval) @property nothrowSet `phase` field. Params: propval = the current phase of the gesture
byte nFingers() @property nothrowGet `nFingers` field. Returns: The number of fingers triggering the pinch
void nFingers(byte propval) @property nothrowSet `nFingers` field. Params: propval = The number of fingers triggering the pinch
uint time() @property nothrowGet `time` field. Returns: the time of the event in milliseconds
void time(uint propval) @property nothrowSet `time` field. Params: propval = the time of the event in milliseconds
double x() @property nothrowGet `x` field. Returns: The X coordinate of the pointer
void x(double propval) @property nothrowSet `x` field. Params: propval = The X coordinate of the pointer
double y() @property nothrowGet `y` field. Returns: The Y coordinate of the pointer
void y(double propval) @property nothrowSet `y` field. Params: propval = The Y coordinate of the pointer
double dx() @property nothrowGet `dx` field. Returns: Movement delta in the X axis of the swipe focal point
void dx(double propval) @property nothrowSet `dx` field. Params: propval = Movement delta in the X axis of the swipe focal point
double dy() @property nothrowGet `dy` field. Returns: Movement delta in the Y axis of the swipe focal point
void dy(double propval) @property nothrowSet `dy` field. Params: propval = Movement delta in the Y axis of the swipe focal point
double angleDelta() @property nothrowGet `angleDelta` field. Returns: The angle change in radians, negative angles denote counter-clockwise movements
void angleDelta(double propval) @property nothrowSet `angleDelta` field. Params: propval = The angle change in radians, negative angles denote counter-clockwise movements
double scale() @property nothrowGet `scale` field. Returns: The current scale, relative to that at the time of the corresponding [gdk.types.TouchpadGesturePhase.Begin] event
void scale(double propval) @property nothrowSet `scale` field. Params: propval = The current scale, relative to that at the time of the corresponding [gdk.types.TouchpadGesturePhase.Begin] event
double xRoot() @property nothrowGet `xRoot` field. Returns: The X coordinate of the pointer, relative to the root of the screen.
void xRoot(double propval) @property nothrowSet `xRoot` field. Params: propval = The X coordinate of the pointer, relative to the root of the screen.
double yRoot() @property nothrowGet `yRoot` field. Returns: The Y coordinate of the pointer, relative to the root of the screen.
void yRoot(double propval) @property nothrowSet `yRoot` field. Params: propval = The Y coordinate of the pointer, relative to the root of the screen.
gdk.types.ModifierType state() @property nothrowGet `state` field. Returns: a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.
void state(gdk.types.ModifierType propval) @property nothrowSet `state` field. Params: propval = a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt) and the pointer buttons. See #GdkModifierType.
Constructors
this(void * ptr, Flag!"Take" take)