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 _getGType() static nothrow
GType _gType() @property nothrow
GestureStylus self() nothrowReturns `this`, for use in `with` statements.
GestureStylusGidBuilder builder() static nothrowGet builder for [gtk.gesture_stylus.GestureStylus] Returns: New builder object
bool stylusOnly() @property nothrowGet `stylusOnly` property. Returns: If this gesture should exclusively react to stylus input devices.
void stylusOnly(bool propval) @property nothrowSet `stylusOnly` property. Params: propval = If this gesture should exclusively react to stylus input devices.
bool getAxes(gdk.types.AxisUse[] axes, out double[] values) nothrowReturns the current values for the requested axes.
bool getAxis(gdk.types.AxisUse axis, out double value) nothrowReturns the current value for the requested axis.
bool getBacklog(out gdk.types.TimeCoord[] backlog) nothrowReturns the accumulated backlog of tracking information.
gdk.device_tool.DeviceTool getDeviceTool() nothrowReturns the [gdk.device_tool.DeviceTool] currently driving input through this gesture.
bool getStylusOnly() nothrowChecks whether the gesture is for styluses only.
void setStylusOnly(bool stylusOnly) nothrowSets 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) nothrowConnect 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) nothrowConnect 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) nothrowConnect 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) nothrowConnect to `Up` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.gesture_stylus.GestureStylus]. Returns: a newly created stylus gesture

Fluent builder implementation template for gtk.gesture_stylus.GestureStylus

Methods
T stylusOnly(bool propval) nothrowSet `stylusOnly` property. Params: propval = If this gesture should exclusively react to stylus input devices. Returns: Builder instance for fluent chaining
Methods
GestureStylus build() nothrowCreate object from builder. Returns: New object