Dialog
external interface Dialog
Content copied to clipboard
Functions
show Certificate Trust Dialog
Link copied to clipboard
abstract fun showCertificateTrustDialog(options: CertificateTrustDialogOptions): Promise<Unit>
Content copied to clipboard
abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions): Promise<Unit>
Content copied to clipboard
show Error Box
Link copied to clipboard
show Message Box
Link copied to clipboard
abstract fun showMessageBox(options: MessageBoxOptions): Promise<MessageBoxReturnValue>
Content copied to clipboard
abstract fun showMessageBox(browserWindow: BrowserWindow, options: MessageBoxOptions): Promise<MessageBoxReturnValue>
Content copied to clipboard
show Message Box Sync
Link copied to clipboard
abstract fun showMessageBoxSync(browserWindow: BrowserWindow, options: MessageBoxSyncOptions): Number
Content copied to clipboard
show Open Dialog
Link copied to clipboard
abstract fun showOpenDialog(options: OpenDialogOptions): Promise<OpenDialogReturnValue>
Content copied to clipboard
abstract fun showOpenDialog(browserWindow: BrowserWindow, options: OpenDialogOptions): Promise<OpenDialogReturnValue>
Content copied to clipboard
show Open Dialog Sync
Link copied to clipboard
abstract fun showOpenDialogSync(options: OpenDialogSyncOptions): Array<String>?
Content copied to clipboard
abstract fun showOpenDialogSync(browserWindow: BrowserWindow, options: OpenDialogSyncOptions): Array<String>?
Content copied to clipboard
show Save Dialog
Link copied to clipboard
abstract fun showSaveDialog(options: SaveDialogOptions): Promise<SaveDialogReturnValue>
Content copied to clipboard
abstract fun showSaveDialog(browserWindow: BrowserWindow, options: SaveDialogOptions): Promise<SaveDialogReturnValue>
Content copied to clipboard
show Save Dialog Sync
Link copied to clipboard
abstract fun showSaveDialogSync(browserWindow: BrowserWindow, options: SaveDialogSyncOptions): String?
Content copied to clipboard