Package: gtk

Function gtk-gesture-multi-press-area

Lambda List

gtk-gesture-multi-press-area (gesture)

Syntax

(gtk-gesture-multi-press-area gesture) => rect
(setf (gtk-gesture-multi-press-area gesture) rect)

Arguments

gesture -- a gtk-gesture-multi-press object
rect -- a gdk-rectangle with the press area

Details

Accessor of the press area of the gesture.

The function gtk-gesture-multi-press-area gets the press area. The function (setf gtk-gesture-multi-press-area) sets the press area.

If rect is non-nil, the press area will be checked to be confined within the rectangle, otherwise the button count will be reset so the press is seen as being the first one. If rect is nil, the area will be reset to an unrestricted state.

Note: The rectangle is only used to determine whether any non-first click falls within the expected area. This is not akin to an input shape.
 

See also

2020-9-11