Metadata-Version: 2.1
Name: wdlg
Version: 0.0.2
Summary: dialog library for windows
Home-page: https://github.com/m-m-git/wdlg
License: BSD Zero Clause License
Keywords: windows,dialog,dialogs,filedialog,filedialogs
Platform: windows
Classifier: Environment :: Win32 (MS Windows)
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# wdlg

This package is a small python library for windows.
It provides functions for creating file/directory selection dialogs and message boxes.

This package is written entirely in Python.
It uses `ctypes` module to display dialogs and has no dependencies on `tkinter` or outside the standard library.

Function and argument names are almost the same as those of `tkinter`.
I feel that it's easy to port code from `tkinter` to `wdlg`, and vice versa.

## Installation

```
pip install wdlg
```

## Example

```python
# it's easy to port code from tkinter to wdlg.

# from tkinter import filedialog
# from tkinter import messagebox
from wdlg import filedialog
from wdlg import messagebox

dir_path = filedialog.askdirectory(initialdir="C:\\Users")
messagebox.showinfo(title="Hello World", message=dir_path)
```

## License

BSD Zero Clause License

see LICENSE.txt.


