Add a callback to detect window close/maximize/minimize events? (Feature #787)


Added by Prakash Manandhar about 14 years ago. Updated over 9 years ago.


Status:Open Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:highgui-gui
Target version:-
Difficulty: Pull request:

Description

Currently, when a main window in a highgui application is closed, the programs usually go to a deadlock state and needs to be canceled by pressing Ctrl-C, etc. It would be nice if we allow the users to detect closure of windows(and/or disable it) and then handle the window closure by gracefully exiting the program.

This should be easy to implement because all major window systems have these callbacks.

I can volunteer to implement this if you assign me.


Associated revisions

Revision e8107610
Added by Andrey Kamaev almost 12 years ago

Merge pull request #787 from taka-no-me:quiet_nvcc

History

Updated by Andrey Kamaev over 12 years ago

  • Category changed from highgui-images to highgui-gui

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4260

Also available in: Atom PDF