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're associated with, for example.

Parameters:

this

a Window

setting

whether to destroy this with its transient parent