set_area


Description:

[ Version ( since = "3.14" ) ]
public void set_area (Rectangle? rect)

If rect is non-null, 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 null, 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.

Parameters:

this

a GestureMultiPress

rect

rectangle to receive coordinates on




2022 vala-language.org