mirror of
https://github.com/godotengine/godot.git
synced 2025-02-14 14:50:46 +00:00
Mention how to handle cancel in ConfirmationDialog
This commit is contained in:
parent
48edf63330
commit
2b1fb0375d
@ -5,6 +5,10 @@
|
||||
</brief_description>
|
||||
<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:
|
||||
[codeblock]
|
||||
get_cancel().connect("pressed", self, "cancelled")
|
||||
[/codeblock].
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
Loading…
Reference in New Issue
Block a user