Refreshing Cache...

Inherits: AcceptDialog < WindowDialog < Popup < Control < CanvasItem < Node < Object

Inherited By: EditorFileDialog, FileDialog, ScriptCreateDialog

Dialog for confirmation of actions.


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").


Vector2rect_min_sizeO: Vector2( 200, 70 )
Stringwindow_titleO: "Please Confirm..."


Buttonget_cancel ( )

Method Descriptions

Returns the cancel button.

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:31:13. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.