Override window close event to hide instead

Use the GtkWindow::close-request signal: it’s exactly what you’re looking for.

1 Like