On Sun, 16 Feb 2020 08:00:11 GMT, mark wrote:

However, grepping through I can't see any that handle exit (e.g., to allow for handling unsaved changes) except by using Main.quit() or core.stdc.stdlib.exit(): surely there's a nicer way?

There is also the quit function in gio.Application / gtk.Application.
The onDestroy signal for the Window is usually used for handling the unsaved changes.

(Had another error so hopefully this isn't duplicated!)

No duplicates, i'll see if i can find whats causing the error.