diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-21 10:11:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-21 10:11:27 +0100 |
commit | 569e9c1d51beca1ebbaf2a79dd7b53045de4fd39 (patch) | |
tree | c80444132b6d2241c837b4d13a19849ba86c3193 /doc/classes | |
parent | 48edf6333029fc961528892af190201197b44c40 (diff) | |
parent | 2b1fb0375d4ea04b51761e3428b86a76b968fb8e (diff) |
Merge pull request #34499 from KoBeWi/your_dialog_was_cancelled
Mention how to handle cancel in ConfirmationDialog
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ConfirmationDialog.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/ConfirmationDialog.xml b/doc/classes/ConfirmationDialog.xml index 8a8d1ed9e8..01a2eebce5 100644 --- a/doc/classes/ConfirmationDialog.xml +++ b/doc/classes/ConfirmationDialog.xml @@ -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> |