set_destroy_with_parent


Description:

public void set_destroy_with_parent (bool setting)

If 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.

Parameters:

this

a `GtkWindow`

setting

whether to destroy this with its transient parent