If setting is true, then clicking the close button on the window will not destroy it, but only hide it.
setting
a `GtkWindow`
whether to hide the window when it is closed