ConfirmationDialog
Inherits: AcceptDialog < WindowDialog < Popup < Control < CanvasItem < Node < Object
Inherited By: EditorFileDialog, FileDialog, ScriptCreateDialog
Dialog for confirmation of actions.
Description
Dialog for confirmation of actions. This dialog inherits from AcceptDialog, but has by default an OK and Cancel button (in host OS order).
To get cancel action, you can use:
get_cancel().connect("pressed", self, "cancelled").
Properties
rect_min_size |
| |
window_title |
|
Methods
get_cancel ( ) |
Method Descriptions
Button get_cancel ( )
Returns the cancel button.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_confirmationdialog.html