MessageBox package
Project description
PVMB
PVMB is the best message box package from pypi
Installation
pip install pvmb
Usage
box("title", MB_ICONQUESTION | MB_CANCELTRYCONTINUE, "text")
Message box mode list
Mode
MB_ABORTRETRYIGNORE
MB_CANCELTRYCONTINUE
MB_HELP
MB_OK
MB_OKCANCEL
MB_RETRYCANCEL
MB_YESNO
MB_YESNOCANCEL
Icons
MB_ICONEXCLAMATION
MB_ICONWARNING
MB_ICONINFORMATION
MB_ICONASTERISK
MB_ICONQUESTION
MB_ICONSTOP
MB_ICONERROR
MB_ICONHAND
Buttons value
IDABORT = 3
IDCANCEL = 2
IDCONTINUE = 11
IDIGNORE = 5
IDNO = 7
IDOK = 1
IDRETRY = 4
IDTRYAGAIN = 10
IDYES = 6
Highlighted button
MB_DEFBUTTON1
MB_DEFBUTTON2
MB_DEFBUTTON3
MB_DEFBUTTON4
Examples
from foxbox import *
mybox = box("SOMETHING WEN WRONG. would you like to restart?",MB_DEFBUTTON1 | MB_ICONERROR | MB_YESNO, "ERROR!")
if mybox == IDYES:
print('Restarted!')
if mybox == IDNO:
print('Closed')
Help
Thanks for use if you have any question join my Discord server link here (--)
What's new?
v0.0.1 - first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PVMB-0.0.1.tar.gz
(2.7 kB
view details)
File details
Details for the file PVMB-0.0.1.tar.gz.
File metadata
- Download URL: PVMB-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a946e50d4d0291777e3b607e359aee02da0daa98203301f9e25ccefebeeb7627
|
|
| MD5 |
1e9ffdd086c68eda7d77b11e88595398
|
|
| BLAKE2b-256 |
87e70f42505ea8efd965d1127e8c65f9922d238b9a1f21d7f63afc3bab05dffb
|