Skip to main content

gdialog - Simple Gtk Dialog

Project description

gdialog

Simple GTK Dialog.


Usage

  1. Library Module
from gdialog.dialog import * # Include GTK Values(MessageType, ButtonType, ResponseType)
from gdialog import run

run("This is Message, Nothing To Do.", "Sample Dialog Label", "Sample Title", GTK_MESSAGE_INFO, GTK_BUTTONS_OK, txvw=False, mkup=False):
  1. Commandline
python -m gdialog -m 'dialog message test' -l 'dialog label' -t 'dialog title' -i ok -b ok

usage: [-h] [-m M] [-l L] [-t T] [-i I] [-b B] [--M] [--T]

options:
  -h, --help  show this help message and exit
  -m M        message
  -l L        label
  -t T        title
  -i I        icon [o:ok|w:warn|e:err(or)|q:que(stion)]
  -b B        button [ok|cl(ose)|can(cel)|yn(yesno)|oc(ok&cancel)]
  --M         Use Markup (for Only Message Dialog)
  --T         Use TextView (Disable Icon and Buttons)

Requirement

  • least needs gtk version 2.40
  • gtk2.0 dev package (libgtk+-2.0) or later (gtk+-3.0)
  • unsupported gtk+-4.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdialog-0.50.0.tar.gz (24.2 kB view details)

Uploaded Source

File details

Details for the file gdialog-0.50.0.tar.gz.

File metadata

  • Download URL: gdialog-0.50.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for gdialog-0.50.0.tar.gz
Algorithm Hash digest
SHA256 870ee62e8163e39b413c653b17ebf29cfc74dac8dd3625095cdba3ee1ccaf399
MD5 b6238d05ca6ed943c26086857e6ba193
BLAKE2b-256 ae5ce707c214df0c08aba9e23213508871e12bc4295d181b8df8236fac0a0eab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page