kvision / pl.treksoft.kvision.electron / Dialog

Dialog

(js) interface Dialog : EventEmitter

Functions

(js)

showCertificateTrustDialog

abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showCertificateTrustDialog(options: CertificateTrustDialogOptions, callback: Function<*>): Unit
(js)

showErrorBox

abstract fun showErrorBox(title: String, content: String): Unit
(js)

showMessageBox

abstract fun showMessageBox(browserWindow: BrowserWindow, options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
abstract fun showMessageBox(options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
(js)

showOpenDialog

abstract fun showOpenDialog(browserWindow: BrowserWindow, options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
abstract fun showOpenDialog(options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
(js)

showSaveDialog

abstract fun showSaveDialog(browserWindow: BrowserWindow, options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String
abstract fun showSaveDialog(options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String