I am currently working with a wxPython GUI window that incorporates an OpenGL canvas panel. My goal is to render icons on this canvas and enable mouse interactions, specifically allowing users to click on the rendered icons. I have a couple of questions regarding this process:
- Mouse Event Capture: How can I effectively capture mouse events on an OpenGL canvas within a wxPython GUI?
- Custom Mouse Cursor: Additionally, I am interested in changing the mouse cursor dynamically when it moves over one of the icons. Could you provide guidance on implementing this feature?