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:

  1. get_cancel().connect("pressed", self, "cancelled").

Properties

Vector2rect_min_sizeVector2( 200, 70 ) (parent override)
Stringwindow_title“Please Confirm…” (parent override)

Methods

Buttonget_cancel ( )

Method Descriptions

Returns the cancel button.