Companion

object Companion

Functions

Link copied to clipboard
fun showAboutDialog(what: String, version: String = Info.VERSION, image: Image = TUPROLOG_LOGO, width: Double = TUPROLOG_LOGO.width * DEFAULT_ICON_SCALE_RATIO, height: Double = TUPROLOG_LOGO.height * DEFAULT_ICON_SCALE_RATIO): Optional<ButtonType>

The default onAbout handler: shows an informational Alert naming what, its version, and the running JVM/JavaFX versions.

Link copied to clipboard

Shows a modal confirmation Alert with the given title/header/content and returns whether the user pressed OK.

Link copied to clipboard

The default onClose handler: asks "do you really want to close what?" via showConfirmationDialog.