showMessageBox
abstract fun showMessageBox(window: BaseWindow, options: MessageBoxOptions): <Error class: unknown class><MessageBoxReturnValue>(source)
abstract fun showMessageBox(options: MessageBoxOptions): <Error class: unknown class><MessageBoxReturnValue>(source)
resolves with a promise containing the following properties:
response
number - The index of the clicked button.checkboxChecked
boolean - The checked state of the checkbox ifcheckboxLabel
was set. Otherwisefalse
.
Shows a message box.
The window
argument allows the dialog to attach itself to a parent window, making it modal.