gtk.gesture_stylus

Module for [GestureStylus] class

Types 3

[gtk.gesture_stylus.GestureStylus] is a [gtk.gesture.Gesture] specific to stylus input.

The provided signals just relay the basic information of the stylus events.

Methods
GType _gType() @property
GestureStylus self()Returns `this`, for use in `with` statements.
GestureStylusGidBuilder builder()Get builder for [gtk.gesture_stylus.GestureStylus] Returns: New builder object
bool stylusOnly() @propertyGet `stylusOnly` property. Returns: If this gesture should exclusively react to stylus input devices.
void stylusOnly(bool propval) @propertySet `stylusOnly` property. Params: propval = If this gesture should exclusively react to stylus input devices.
bool getAxes(gdk.types.AxisUse[] axes, out double[] values)Returns the current values for the requested axes.
bool getAxis(gdk.types.AxisUse axis, out double value)Returns the current value for the requested axis.
bool getBacklog(out gdk.types.TimeCoord[] backlog)Returns the accumulated backlog of tracking information.
gdk.device_tool.DeviceTool getDeviceTool()Returns the [gdk.device_tool.DeviceTool] currently driving input through this gesture.
bool getStylusOnly()Checks whether the gesture is for styluses only.
void setStylusOnly(bool stylusOnly)Sets the state of stylus-only
gulong connectDown(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.gesture_stylus.GestureStylus))) && Parameters!T.length < 4)Connect to `Down` signal.
gulong connectMotion(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.gesture_stylus.GestureStylus))) && Parameters!T.length < 4)Connect to `Motion` signal.
gulong connectProximity(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.gesture_stylus.GestureStylus))) && Parameters!T.length < 4)Connect to `Proximity` signal.
gulong connectUp(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == double))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == double))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gtk.gesture_stylus.GestureStylus))) && Parameters!T.length < 4)Connect to `Up` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.gesture_stylus.GestureStylus]. Returns: a newly created stylus gesture
Methods
T stylusOnly(bool propval)Set `stylusOnly` property. Params: propval = If this gesture should exclusively react to stylus input devices. Returns: Builder instance for fluent chaining

Fluent builder for [gtk.gesture_stylus.GestureStylus]