Name | PVMB JSON |
Version |
0.0.1
JSON |
| download |
home_page | |
Summary | MessageBox package |
upload_time | 2023-01-04 16:08:56 |
maintainer | |
docs_url | None |
author | Batte |
requires_python | |
license | |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# PVMB
PVMB is the best message box package from pypi
## Installation
```bash
pip install pvmb
```
## Usage
```python
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
```python
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 [(--)](https:\discord.gg\c6twk26h)
## What's new?
v0.0.1 - first release
Raw data
{
"_id": null,
"home_page": "",
"name": "PVMB",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Batte",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/87/e7/0f42505ea8efd965d1127e8c65f9922d238b9a1f21d7f63afc3bab05dffb/PVMB-0.0.1.tar.gz",
"platform": null,
"description": "\r\n# PVMB\r\n\r\nPVMB is the best message box package from pypi\r\n\r\n## Installation\r\n\r\n\r\n```bash\r\npip install pvmb\r\n```\r\n\r\n## Usage\r\n\r\n```python\r\n\r\nbox(\"title\", MB_ICONQUESTION | MB_CANCELTRYCONTINUE, \"text\")\r\n```\r\n\r\n## Message box mode list\r\n\r\n### Mode\r\n\r\nMB_ABORTRETRYIGNORE\r\n\r\nMB_CANCELTRYCONTINUE\r\n\r\nMB_HELP\r\n\r\nMB_OK\r\n\r\nMB_OKCANCEL\r\n\r\nMB_RETRYCANCEL\r\n\r\nMB_YESNO\r\n\r\nMB_YESNOCANCEL\r\n\r\n_________\r\n### Icons\r\n\r\nMB_ICONEXCLAMATION\r\n\r\nMB_ICONWARNING\r\n\r\nMB_ICONINFORMATION\r\n\r\nMB_ICONASTERISK\r\n\r\nMB_ICONQUESTION\r\n\r\nMB_ICONSTOP\r\n\r\nMB_ICONERROR\r\n\r\nMB_ICONHAND\r\n_____\r\n### Buttons value\r\n\r\nIDABORT = 3\r\n\r\nIDCANCEL = 2\r\n\r\nIDCONTINUE = 11\r\n\r\nIDIGNORE = 5\r\n\r\nIDNO = 7\r\n\r\nIDOK = 1\r\n\r\nIDRETRY = 4\r\n\r\nIDTRYAGAIN = 10\r\n\r\nIDYES = 6\r\n___\r\n\r\n### Highlighted button\r\n\r\nMB_DEFBUTTON1\r\n\r\nMB_DEFBUTTON2\r\n\r\nMB_DEFBUTTON3\r\n\r\nMB_DEFBUTTON4\r\n\r\n#### Examples\r\n\r\n```python\r\nfrom foxbox import *\r\nmybox = box(\"SOMETHING WEN WRONG. would you like to restart?\",MB_DEFBUTTON1 | MB_ICONERROR | MB_YESNO, \"ERROR!\")\r\nif mybox == IDYES:\r\n print('Restarted!')\r\nif mybox == IDNO:\r\n print('Closed')\r\n```\r\n\r\n## Help\r\n\r\nThanks for use if you have any question join my Discord server link here [(--)](https:\\discord.gg\\c6twk26h)\r\n\r\n## What's new?\r\nv0.0.1 - first release\r\n",
"bugtrack_url": null,
"license": "",
"summary": "MessageBox package",
"version": "0.0.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "87e70f42505ea8efd965d1127e8c65f9922d238b9a1f21d7f63afc3bab05dffb",
"md5": "1e9ffdd086c68eda7d77b11e88595398",
"sha256": "a946e50d4d0291777e3b607e359aee02da0daa98203301f9e25ccefebeeb7627"
},
"downloads": -1,
"filename": "PVMB-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "1e9ffdd086c68eda7d77b11e88595398",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2694,
"upload_time": "2023-01-04T16:08:56",
"upload_time_iso_8601": "2023-01-04T16:08:56.904729Z",
"url": "https://files.pythonhosted.org/packages/87/e7/0f42505ea8efd965d1127e8c65f9922d238b9a1f21d7f63afc3bab05dffb/PVMB-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-04 16:08:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "pvmb"
}