An on_close event for windows and/or projects.

Xavura 5 years ago • updated by Kenny Levinsen 5 years ago 1
Request is in the title.
I would like to make sure some processes are killed when a project window is closed. Right now, I think I can achieve this with a view on_close event and counting the number of views that remain in the window and seeing if there is only one.

Of course, that's just terrible.
Agreed, more events should be made available. I'd love some events on which you can subscribe on a view, window or project, instead of having to check if things were meant to be seen by you. Of course, global-scope events are still good, but for some things that belong *ONLY* in a view, or in your case, window/project, it means that everyone with a listener needs to check...