Is it possible to set cursor position from within OpenCV mouse events?

there is no instance, where it is called, and it expects / calls a different signature

also no instance captured here

iirc, if it needs a self, it has to be passed via param, or use a lambda instead of a function