Gesture.setWindow

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.EventController.getWidget.

class Gesture
void
setWindow

Parameters

window gdk.window.Window

a #GdkWindow, or null