GestureStylus
GtkGestureStylus
is a GtkGesture
specific to stylus input.
The provided signals just relay the basic information of the stylus events.
Skipped during bindings generation
parameter
axes
: Array parameter of type Gdk.AxisUse is not supportedparameter
value
: value: Out parameter is not supportedparameter
backlog
: backlog: Out parameter is not supported
Constructors
Properties
The limit for which events this controller will handle.
The propagation phase at which this controller will handle events.
If this gesture should exclusively react to stylus input devices.
Functions
Emits the "cancel" signal. See onCancel.
Emits the "motion" signal. See onMotion.
Emits the "proximity" signal. See onProximity.
Emits the "sequence-state-changed" signal. See onSequenceStateChanged.
Emits the "update" signal. See onUpdate.
If there are touch sequences being currently handled by @gesture, returns true and fills in @rect with the bounding box containing all active touches.
Returns the button number currently interacting with @gesture, or 0 if there is none.
Returns the event that is currently being handled by the controller.
Returns the device of the event that is currently being handled by the controller.
Returns the modifier state of the event that is currently being handled by the controller.
Returns the timestamp of the event that is currently being handled by the controller.
Returns the event sequence currently interacting with @gesture.
Returns the GdkDeviceTool
currently driving input through this gesture.
Returns the last event that was processed for @sequence.
Returns the GdkEventSequence
that was last updated on @gesture.
Returns the list of GdkEventSequences
currently being interpreted by @gesture.
Returns the @sequence state, as seen by @gesture.
Returns true if @gesture is currently handling events corresponding to @sequence.
Returns true if both gestures pertain to the same group.
Returns true if the gesture is currently recognized.
Emitted when @gesture either stopped recognizing the event sequences as something to be handled, or the number of touch sequences became higher or lower than property@Gtk.Gesture:n-points.
Emitted when the stylus is in proximity of the device.
Emitted whenever a sequence state changes.
This is deprecated since version 4.10..
Sets the state of all sequences that @gesture is currently interacting with.
Sets a name on the controller that can be used for debugging.