Corrected Readme
This commit is contained in:
parent
4695f33c04
commit
e2eb87994d
2 changed files with 6 additions and 6 deletions
10
README.md
10
README.md
|
@ -12,11 +12,11 @@ pip install showdialog
|
||||||
Opens GTK MessageDialog
|
Opens GTK MessageDialog
|
||||||
|
|
||||||
#### Args
|
#### Args
|
||||||
title (`str`): Dialog caption
|
- title (`str`): Dialog caption
|
||||||
text (`Union[Tuple[Optional[str], bool], Optional[str]]`): Dialog primary text, str or tuple `(text, use_markup)`
|
- text (`Union[Tuple[Optional[str], bool], Optional[str]]`): Dialog primary text, str or tuple `(text, use_markup)`
|
||||||
sectext (`Union[Tuple[Optional[str], bool], Optional[str]]`, optional): Dialog secondary text, str or tuple. Defaults to `None`.
|
- sectext (`Union[Tuple[Optional[str], bool], Optional[str]]`, optional): Dialog secondary text, str or tuple. Defaults to `None`.
|
||||||
btns (`Gtk.ButtonsType`, optional): Dialog buttons. Defaults to `Gtk.ButtonsType.OK`.
|
- btns (`Gtk.ButtonsType`, optional): Dialog buttons. Defaults to `Gtk.ButtonsType.OK`.
|
||||||
msgtype (`Gtk.MessageType`, optional): Dialog message type. Defaults to `Gtk.MessageType.INFO`.
|
- msgtype (`Gtk.MessageType`, optional): Dialog message type. Defaults to `Gtk.MessageType.INFO`.
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
```python
|
```python
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ with open('README.md', 'rt') as f:
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name='showdialog',
|
name='showdialog',
|
||||||
version='1.0.0',
|
version='1.0.1',
|
||||||
author='Chechkenev Andrey (@DarkCat09)',
|
author='Chechkenev Andrey (@DarkCat09)',
|
||||||
author_email='aacd0709@mail.ru',
|
author_email='aacd0709@mail.ru',
|
||||||
description='Simple module for showing GTK dialog',
|
description='Simple module for showing GTK dialog',
|
||||||
|
|
Loading…
Reference in a new issue