Package: gtk
Class gtk-gesture-single
SuperclassesDocumented Subclassesgtk-gesture-drag, gtk-gesture-long-press, gtk-gesture-multi-press, gtk-gesture-stylus, gtk-gesture-swipe Direct SlotsDetails gtk-gesture-single is a subclass of gtk-gesture, optimized
(although not restricted) for dealing with mouse and single-touch gestures.
Under interaction, these gestures stick to the first interacting sequence,
which is accessible through the function gtk-gesture-single-current-sequence while the gesture is being
interacted with. By default gestures react to both :button-primary and touch events, the slot access function gtk-gesture-single-touch-only can be used to change the touch behavior. Callers may also specify a different mouse button number to interact with through the slot access function gtk-gesture-single-button, or react to any mouse button by setting 0. While the gesture is active, the button being currently pressed can be known through the function gtk-gesture-single-current-button. | Slot Access FunctionsInherited Slot Access Functions
See also |
2020-9-11