Method

GtkGestureset_window

since: 3.14

Declaration [src]

void
gtk_gesture_set_window (
  GtkGesture* gesture,
  GdkWindow* window
)

Description [src]

Sets a specific window to receive events about, so gesture will effectively handle only events targeting window, or a child of it. window must pertain to gtk_event_controller_get_widget().

Available since: 3.14

Sets propertyGtk.Gesture:window

Parameters

window

Type: GdkWindow

A GdkWindow, or NULL.

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