confirm - 2.2
josmiley / Luke spywoker (mutualaccount)
'confirm' is a feature that lets you request a confirmation from the user of your project for a critical(or other) action.
this function returns False, True or None depending on whether the user answers yes, no or opps, ignore it.
from confirm import Confirm
response = Confirm.get('Are you sure you want to exit without saving ?','WARNING ...')
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.