ConfirmationDialog
Inherits: AcceptDialog < WindowDialog < Popup < Control < CanvasItem < Node < Object Inherited By: EditorFileDialog, FileDialog, ScriptCreateDialog Dialog for confirmation of actions.
Description
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
Methods
Method Descriptions
- Button get_cancel ( ) Returns the cancel button. Warning: This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their CanvasItem.visible property.
