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 instance with the press area

Details

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

If the rect argument 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 the rect argument 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

#2023-3-6