I'm coding using Python and OpenCV on Ubuntu 14.04. When I click on the right button of the mouse, the associated mouse event cv2.EVENT_RBUTTONDOWN
does not work and I rather get context menu ("actions"). Is there a way to disable the context menu popup?
I tried the solution to this question however when I run: cv2.namedWindow("Window",cv2.CV_GUI_NORAM')
I get this error:
AttributeError: 'module' object has no attribute 'CV_GUI_NORMAL'
How to fix this ?