Base dialog for user notification.
This dialog is useful for small notifications to the user about an event. It can only be accepted or closed, with the same result.
Adds a button with label [i]text[/i] and a custom [i]action[/i] to the dialog and returns the created button. [i]action[/i] will be passed to the [custom_action] signal when pressed.
If [code]true[/code], [i]right[/i] will place the button to the right of any sibling buttons. Default value: [code]false[/code].
Adds a button with label [i]name[/i] and a cancel action to the dialog and returns the created button.
Return true if the dialog will be hidden when accepted (default true).
Return the label used for built-in text.
Return the OK Button.
Return the built-in label text.
Registers a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted.
Set whether the dialog is hidden when accepted (default true).
Set the built-in label text.
Emitted when the dialog is accepted.
Emitted when a custom button is pressed. See [method add_button].