Metadata-Version: 2.1
Name: eztk
Version: 0.1.1
Summary: A simplified Tkinter widget framework with grid layout engine
Author-email: Albert Margolis <almargolis@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/almargolis/eztk
Project-URL: Bug Tracker, https://github.com/almargolis/eztk/issues
Project-URL: Source Code, https://github.com/almargolis/eztk
Keywords: tkinter,gui,widgets,layout
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: User Interfaces
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: images
Requires-Dist: opencv-python>=4.5.0; extra == "images"
Requires-Dist: numpy>=1.19.0; extra == "images"
Requires-Dist: Pillow>=8.0.0; extra == "images"

# eztk

A simplified Tkinter widget framework with a grid layout engine.

eztk wraps Tkinter's widget creation and grid placement into a compact API. It provides:

- **TkWidgetDef** — a unified wrapper for any Tkinter widget, tracking position, data, and parent/child relationships
- **EasyTk** — the root application class
- **Notebook** — a lightweight replacement for `ttk.Notebook`
- **Grid layout constants** — `NEXT_ROW`, `SAME_COL`, `EXTEND_ROW`, etc. for declarative widget placement

## Install

```bash
pip install eztk
```

Image features (thumbnails, OpenCV display) require additional dependencies:

```bash
pip install eztk[images]
```

## Quick start

```python
from eztk import eztk

app = eztk.EasyTk()
app.add_label(text="Hello, world!")
app.add_button("Click me", lambda: print("clicked"))
app.tkw.mainloop()
```
