Skip to main content

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)

Source distribution for showdialog 1.0.3
File Size Uploaded
showdialog-1.0.3.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for showdialog 1.0.3
File Interpreter ABI Platform
showdialog-1.0.3-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page