Package: gtk

Accessor gtk-gesture-single-touch-only

Lambda List

gtk-gesture-single-touch-only (object)

Syntax

(gtk-gesture-single-touch-only object) => touch-only)
(setf (gtk-gesture-single-touch-only object) touch-only)

Arguments

object -- a gtk-gesture-single object
touch-only -- a boolean whether gesture handles only touch events

Details

Accessor of the touch-only slot of the gtk-gesture-single class.

The slot access function gtk-gesture-single-touch-only returns true if the gesture is only triggered by touch events. The slot access function (setf gtk-gesture-single-touch-only) sets whether the gesture is only triggered by touch events. If touch-only is true, gesture will only handle events of type :touch-begin, :touch-update or :touch-end. If false, mouse events will be handled too.
 

See also

2020-9-11