MainWindow.windowDelete

Executed when the user tries to close the window

class MainWindow
protected
bool
windowDelete

Return Value

Type: bool

true to refuse to close the window