This is deprecated since version 4.10.
Use class@Gtk.Window instead
Emits the "close" signal. See onClose.