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:
Returns the cancel button.
Construct a new instance of ConfirmationDialog. Note: use memnew!ConfirmationDialog instead.
get_cancel().connect("pressed", self, "cancelled")
.
See Implementation
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: