confirm - 2.6

warning box

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.

Changes

add 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)