Merge pull request #34499 from KoBeWi/your_dialog_was_cancelled

Mention how to handle cancel in ConfirmationDialog
This commit is contained in:
Rémi Verschelde 2019-12-21 10:11:27 +01:00 committed by GitHub
commit 569e9c1d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,10 @@
</brief_description> </brief_description>
<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). 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> </description>
<tutorials> <tutorials>
</tutorials> </tutorials>