Metadata-Version: 2.4
Name: gdialog
Version: 0.50.0
Summary: gdialog - Simple Gtk Dialog
Author: Twinkle Computing
Author-email: Twinkle Computing <twinkle@twinkle.work>
License-Expression: GPL-3.0-or-later AND LicenseRef-ResistPsychiatricTerror-1.0-or-later
Project-URL: Homepage, https://github.com/ScrapWareOrg/gdialog
Project-URL: Issues, https://github.com/ScrapWareOrg/gdialog/issue
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE.GPLv3
License-File: LICENSE.RPTv1
Dynamic: license-file

# gdialog

Simple GTK Dialog.

-----
## Usage

1. Library Module

```python

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):

```

2. Commandline

```markdown
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

