Method

GtkGestureset_window

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 GdkWindow
 

A GdkWindow, or NULL.

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