Gtk.Window.hide_on_close – gtk4 Reference Manual
hide_on_close
Description:
public
bool
hide_on_close
{
get
;
set
; }
If this window should be hidden when the users clicks the close button.
2022 vala-language.org