Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Disable X close button of cv2.window

I m displaying certain frames from a microscope in a cv2.window ( in Python) but problems could appear if the users try to close the window i Is there any way to disable or hide the X close button from a cv2.window, or at least changing its behavior so nothing happens with the window when clicked?

PS: I am using Windows 10, Python 3.6 and OpenCV 4.3.0

Disable X close button of cv2.window

I m displaying certain frames from a microscope in a cv2.window ( in Python) but problems could appear if the users try to close the window i Is there any way to disable or hide the X close buttonbutton in the right top corner from a cv2.window, or at least changing its behavior so nothing happens with the window when clicked?

PS: I am using Windows 10, Python 3.6 and OpenCV 4.3.0

Disable X close button of cv2.window

I m displaying certain frames from a microscope in a cv2.window ( in Python) but problems could appear if the users try to close the window i Is there any way to disable or hide the X close button in the right top corner from a cv2.window, or at least changing its behavior so nothing happens with the window when clicked?

PS: I am using Windows 10, Python 3.6 and OpenCV 4.3.04.3.0 image description