Method

GtkGestureMultiPressset_area

since: 3.14

Declaration [src]

void
gtk_gesture_multi_press_set_area (
  GtkGestureMultiPress* gesture,
  const GdkRectangle* rect
)

Description [src]

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.

Available since: 3.14

Parameters

rect

Type: GdkRectangle

Rectangle to receive coordinates on.

The argument can be NULL.
The data is owned by the caller of the method.