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
GestureStylusGidBuilder builder() static nothrowGet builder for [gtk.gesture_stylus.GestureStylus] Returns: New builder objectbool 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.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.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 chainingFluent builder for gtk.gesture_stylus.GestureStylus
Methods