A module to show message boxes in Windows-based Python applications.
- The title shown on message box.
- Default is 'My title'.
- The text shown on message box.
- Default is 'My text'.
- The button(s) shown on message box.
- Options include: 'OK' (default), 'OKCANCEL', 'ABORTRETRYIGNORE', 'YESNOCANCEL', 'YESNO', 'RETRYCANCEL', 'CANCELTRYCONTINUE', 'OKHELP'
- The icon shown on message box.
- Options include: 'NOICON', 'ICONSTOP', 'ICONERROR', 'ICONHAND', 'ICONQUESTION', 'ICONEXCLAMATION', 'ICONWARNING', 'ICONINFORMATION' (default), 'ICONASTERISK'
- The button the user clicked on message box.
- Values include: 'OK', 'CANCEL', 'ABORT', 'RETRY', 'IGNORE', 'YES', 'NO', 'TRYAGAIN', 'CONTINUE'
import mbox
mbox.show(title='My Message Box', text='My message', button='OKCANCEL')
import mbox
mbox.show(title='My Message Box', text='My message', icon='ICONERROR')
- Python 3.x
- Windows
Licensed under the MIT License