Corrected Readme

This commit is contained in:
DarkCat09 2022-08-10 13:50:06 +04:00
parent 4695f33c04
commit e2eb87994d
2 changed files with 6 additions and 6 deletions

View file

@ -12,11 +12,11 @@ pip install showdialog
Opens GTK MessageDialog
#### Args
title (`str`): Dialog caption
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`.
btns (`Gtk.ButtonsType`, optional): Dialog buttons. Defaults to `Gtk.ButtonsType.OK`.
msgtype (`Gtk.MessageType`, optional): Dialog message type. Defaults to `Gtk.MessageType.INFO`.
- title (`str`): Dialog caption
- 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`.
- btns (`Gtk.ButtonsType`, optional): Dialog buttons. Defaults to `Gtk.ButtonsType.OK`.
- msgtype (`Gtk.MessageType`, optional): Dialog message type. Defaults to `Gtk.MessageType.INFO`.
#### Example:
```python

View file

@ -5,7 +5,7 @@ with open('README.md', 'rt') as f:
setuptools.setup(
name='showdialog',
version='1.0.0',
version='1.0.1',
author='Chechkenev Andrey (@DarkCat09)',
author_email='aacd0709@mail.ru',
description='Simple module for showing GTK dialog',