public void set_destroy_with_parent (bool setting)
setting is true, then destroying the transient parent of this
will also destroy this itself.
This is useful for dialogs that shouldn’t persist beyond the lifetime of the main window they are associated with, for example.
whether to destroy this with its transient parent