Skip to content

added CTkConfirmationDialog#2639

Closed
ageorge95 wants to merge 1 commit intoTomSchimansky:masterfrom
ageorge95:master
Closed

added CTkConfirmationDialog#2639
ageorge95 wants to merge 1 commit intoTomSchimansky:masterfrom
ageorge95:master

Conversation

@ageorge95
Copy link

Hello, I have created a very simple ConfirmationDialog within the CustomTkinter framework.

If you think it is helpful you can merge it so that it is accessible to everyone 😊

Below is a usage example:

dialog = CTkConfirmationDialog(title="Quit", message="Do you really want to quit?").get_selection()
if dialog:
  pass # do stuff if the answer is OK (True)
else:
  pass # do other stuff if the answer is CANCEL (False)

(If I need to adapt it/ change it/ beautify it in order to merge it on the master branch let me know, I can dedicate some time to help with the merge)

@ageorge95
Copy link
Author

Added a screenshot of the dialog window produced by the example code from the PR's description:

image

@ageorge95 ageorge95 closed this by deleting the head repository Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant