showdialog
Simple module for showing GTK dialog.
Install
pip install showdialog
Usage
showdialog.show_msg(title, text, sectext, btns, msgtype)
Opens GTK MessageDialog
Args
| Name | Type | Description | Default value |
|---|---|---|---|
| title | str |
Dialog caption | Required |
| text | Tuple[Optional[str], bool] | Optional[str] |
Dialog primary text, str or tuple: (text, use_markup) |
Required |
| sectext | Tuple[Optional[str], bool] | Optional[str] |
Dialog secondary text, str or tuple | None |
| btns | Gtk.ButtonsType |
Dialog buttons | Gtk.ButtonsType.OK |
| msgtype | Gtk.MessageType |
Dialog message type | Gtk.MessageType.INFO |
Example:
from showdialog import show_msg
show_msg(title='', text='Hello world!')
Metadata
Release files for showdialog 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| showdialog-1.0.3.tar.gz | 2.9 kB | Without provenance | Details for showdialog-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| showdialog-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for showdialog-1.0.3-py3-none-any.whl |
Total release size: 6.0 kB
Release files / showdialog-1.0.3.tar.gz
| Download URL | showdialog-1.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc78eb0f89d98b5584868b951a980f141bd2fd6c45cb307a61c89eab14fc1095
|
|
BLAKE2b-256 checksum How to use checksums |
6be5817e599fe854ea9cc5aefb4751551913337757cc73a1ef39c78259542709
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/4.9.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.7
|
Release files / showdialog-1.0.3-py3-none-any.whl
| Download URL | showdialog-1.0.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f6a2198d84ab56afbfc50fa1771f5d4245a4003ca69fa381e5dcbdcf78e22b2a
|
|
BLAKE2b-256 checksum How to use checksums |
7ae67b8f8f1b1168320ae8f3a754c8942f571760f9f66e39840d41b8704c096c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/35.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/4.9.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.5 CPython/3.10.7
|
Security for showdialog 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.