MainWindow.exit

Allows the application to close and decide if it can exit

class MainWindow
protected
bool
exit
(
int code
,
bool force
)

Parameters

code int

the code reason to exit

force bool

if true the application must expect to be closed even against it's will

Return Value

Type: bool

false to refuse to exit

Meta