pygame is
pygame.org is
|
confirm
confirm - 2.6josmiley (josmiley)Tags:Description'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 ...') Changesadd width(width of the window) arg
with a wider window, you can display more text such as game rules or license
from toolbox.EasyGame import confirm
confirm(label='...', title='', mode=3, fontsize=16,width=320) Links
ScreenshotReleases
Pygame.org account CommentsIf you wish to leave a comment with your pygame.org account, please sign in first.
|
|