Functions
Link copied to clipboard
abstract fun showCertificateTrustDialog(window: BaseWindow, options: CertificateTrustDialogOptions): Promise<Void>
resolves when the certificate trust dialog is shown.
Link copied to clipboard
Displays a modal dialog that shows an error message.
Link copied to clipboard
abstract fun showMessageBox(window: BaseWindow, options: MessageBoxOptions): Promise<MessageBoxReturnValue>
resolves with a promise containing the following properties:
Link copied to clipboard
the index of the clicked button.
Link copied to clipboard
abstract fun showOpenDialog(window: BaseWindow, options: OpenDialogOptions): Promise<OpenDialogReturnValue>
Resolve with an object containing the following:
Link copied to clipboard
abstract fun showOpenDialogSync(window: BaseWindow, options: OpenDialogSyncOptions): ReadonlyArray<String>?
the file paths chosen by the user; if the dialog is cancelled it returns undefined.
Link copied to clipboard
abstract fun showSaveDialog(window: BaseWindow, options: SaveDialogOptions): Promise<SaveDialogReturnValue>
Resolve with an object containing the following:
Link copied to clipboard
the path of the file chosen by the user; if the dialog is cancelled it returns an empty string.