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 [signal 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 the label used for built-in text.
Return the OK Button.
Registers a [LineEdit] in the dialog. When the enter key is pressed, the dialog will be accepted.
If [code]true[/code] the dialog is hidden when accepted. Default value: [code]true[/code].
The text displayed by this dialog.
Emitted when the dialog is accepted.
Emitted when a custom button is pressed. See [method add_button].