App.confirm
- App.confirm(message)[source]
Confirm the execution of an action.
- Parameters
- messagestr
Message to inform the user.
- Returns
- bool
True if the user confirms. False otherwise.
Examples
if viewer.confirm("Should i continue?"): continue
Confirm the execution of an action.
Message to inform the user.
True if the user confirms. False otherwise.
Examples
if viewer.confirm("Should i continue?"):
continue