A dialog displays a new window on the screen with the specified message.
The buttons to display in the window, from left to right.
Optional
The function to call when the dialog is closed.
The index of the default button.
The message to display in the window.
The title for the alert window.
Displays the dialog on screen.
The parent window of the dialog, if available
Static
Displays a single-use dialog with a single "OK" button.
The parent window to place the dialog under
The title for the dialog
The message to show
A function to call when the dialog is closed
A dialog displays a new window on the screen with the specified message.