gdk.event_touchpad_pinch
Module for [EventTouchpadPinch] class
class EventTouchpadPinch
Types 1
classEventTouchpadPinch
Generated during touchpad swipe gestures.
Fields
GdkEventTouchpadPinch _cInstanceMethods
void * _cPtr()gdk.types.EventType type() @propertyGet `type` field. Returns: the type of the event ([gdk.types.EventType.TouchpadPinch])void type(gdk.types.EventType propval) @propertySet `type` field. Params: propval = the type of the event ([gdk.types.EventType.TouchpadPinch])gdk.window.Window window() @propertyGet `window` field. Returns: the window which received the eventvoid window(gdk.window.Window propval) @propertySet `window` field. Params: propval = the window which received the eventvoid sendEvent(byte propval) @propertySet `sendEvent` field. Params: propval = true if the event was sent explicitlyvoid phase(byte propval) @propertySet `phase` field. Params: propval = the current phase of the gesturevoid nFingers(byte propval) @propertySet `nFingers` field. Params: propval = The number of fingers triggering the pinchvoid time(uint propval) @propertySet `time` field. Params: propval = the time of the event in millisecondsvoid dx(double propval) @propertySet `dx` field. Params: propval = Movement delta in the X axis of the swipe focal pointvoid dy(double propval) @propertySet `dy` field. Params: propval = Movement delta in the Y axis of the swipe focal pointdouble angleDelta() @propertyGet `angleDelta` field. Returns: The angle change in radians, negative angles denote counter-clockwise movementsvoid angleDelta(double propval) @propertySet `angleDelta` field. Params: propval = The angle change in radians, negative angles denote counter-clockwise movementsdouble scale() @propertyGet `scale` field. Returns: The current scale, relative to that at the time of the corresponding [gdk.types.TouchpadGesturePhase.Begin] eventvoid scale(double propval) @propertySet `scale` field. Params: propval = The current scale, relative to that at the time of the corresponding [gdk.types.TouchpadGesturePhase.Begin] eventdouble xRoot() @propertyGet `xRoot` field. Returns: The X coordinate of the pointer, relative to the root of the screen.void xRoot(double propval) @propertySet `xRoot` field. Params: propval = The X coordinate of the pointer, relative to the root of the screen.double yRoot() @propertyGet `yRoot` field. Returns: The Y coordinate of the pointer, relative to the root of the screen.void yRoot(double propval) @propertySet `yRoot` field. Params: propval = The Y coordinate of the pointer, relative to the root of the screen.gdk.types.ModifierType state() @propertyGet `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) @propertySet `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.