code: func (v *Device) Grab(w *Window, ownership GrabOwnership, owner_events bool, event_mask EventMask, cursor *Cursor, time uint32) GrabStatus {
  	ret := C.gdk_device_grab(
  		v.native(),
  		w.native(),
  		C.GdkGrabOwnership(ownership),
  		gbool(owner_events),
  		C.GdkEventMask(event_mask),
  		cursor.native(),
  		C.guint32(time),
  	)
  	return GrabStatus(ret)
  }
docs: // Grab() is a wrapper around gdk_device_grab().