gdk.event_touchpad_swipe
Module for [EventTouchpadSwipe] class
class EventTouchpadSwipe
Types 1
classEventTouchpadSwipe
Generated during touchpad swipe gestures.
Fields
GdkEventTouchpadSwipe _cInstanceMethods
void * _cPtr() nothrowgdk.types.EventType type() @property nothrowGet `type` field. Returns: the type of the event ([gdk.types.EventType.TouchpadSwipe])void type(gdk.types.EventType propval) @property nothrowSet `type` field. Params: propval = the type of the event ([gdk.types.EventType.TouchpadSwipe])gdk.window.Window window() @property nothrowGet `window` field. Returns: the window which received the eventvoid window(gdk.window.Window propval) @property nothrowSet `window` field. Params: propval = the window which received the eventbyte sendEvent() @property nothrowGet `sendEvent` field. Returns: true if the event was sent explicitlyvoid sendEvent(byte propval) @property nothrowSet `sendEvent` field. Params: propval = true if the event was sent explicitlyvoid phase(byte propval) @property nothrowSet `phase` field. Params: propval = the current phase of the gesturebyte nFingers() @property nothrowGet `nFingers` field. Returns: The number of fingers triggering the swipevoid nFingers(byte propval) @property nothrowSet `nFingers` field. Params: propval = The number of fingers triggering the swipevoid time(uint propval) @property nothrowSet `time` field. Params: propval = the time of the event in millisecondsvoid x(double propval) @property nothrowSet `x` field. Params: propval = The X coordinate of the pointervoid y(double propval) @property nothrowSet `y` field. Params: propval = The Y coordinate of the pointerdouble dx() @property nothrowGet `dx` field. Returns: Movement delta in the X axis of the swipe focal pointvoid dx(double propval) @property nothrowSet `dx` field. Params: propval = Movement delta in the X axis of the swipe focal pointdouble dy() @property nothrowGet `dy` field. Returns: Movement delta in the Y axis of the swipe focal pointvoid dy(double propval) @property nothrowSet `dy` field. Params: propval = Movement delta in the Y axis of the swipe focal pointdouble 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.