A simplified Tkinter widget framework with grid layout engine
Project description
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
pip install eztk
Image features (thumbnails, OpenCV display) require additional dependencies:
pip install eztk[images]
Quick start
from eztk import eztk
app = eztk.EasyTk()
app.add_label(text="Hello, world!")
app.add_button("Click me", lambda: print("clicked"))
app.tkw.mainloop()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eztk-0.1.0.tar.gz
(16.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
eztk-0.1.0-py3-none-any.whl
(13.4 kB
view details)
File details
Details for the file eztk-0.1.0.tar.gz.
File metadata
- Download URL: eztk-0.1.0.tar.gz
- Upload date:
- Size: 16.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6ba1ea12c686b9dce04103bcb90774b8381e8caef9643a6c486622cc8cce4ad
|
|
| MD5 |
35e129092e45fbe383ded781903fa41c
|
|
| BLAKE2b-256 |
073ce138aa44af499c59786ceebf133859dea5bc29fecee21b80b400075599a9
|
File details
Details for the file eztk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: eztk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 13.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb0344924becf23352abdd765530f1e7d37d7bcbb82cc725797f59d9bc4cd075
|
|
| MD5 |
ca1f0d7065b898546d840477b7ec46df
|
|
| BLAKE2b-256 |
5b9501e60fbec86707d7fa3c87e787c94dcabff498c9a8efccc50dd43793648f
|