onClose

fun onClose(onClose: () -> Boolean): TuPrologIDEBuilder


var onClose: () -> Boolean

Invoked when the user requests to close the window; returning false cancels the close. Defaults to a confirmation dialog.