Essentially I would like to draw a transparent overlay overtop of what’s on screen, but have mouse/keyboard events go to the window behind the wx window and not capture anything.
Edit: on Windows, as its likely OS-specific
It’s quite possible wxPython is just entirely the wrong thing to do this in, but if that’s so does anyone have recommendations for what to use instead?
It doesn’t need any of the various event or window handling features, all I need is the ability to semi-transparently draw things over the screen, while not preventing the program running from seeing my mouse/keyboard inputs. Googling how to draw an overlay with python has seemed to largely point towards wxPython which is why I thought I’d start here, but my initial blind hacking around hasn’t got me anywhere so far
Edit: thinking about it, the mouse events I want to send through are all going to be generated by the program and not provided by a user so I could in theory minimise the overlay, emulate a click and then bring it back up, hopefully without too much flickering. It’s not ideal but if all else fails it could work.