A CSS-like, HTML-inspired UI framework built on top of Tkinter.
Project description
structtkinter
A CSS-like, HTML-inspired UI framework built on top of Tkinter.
Features
- Canvas-based rendering for full control over shapes, shadows, and transforms
- CSS-style styling with classes, IDs, and tag selectors
- External "CSS" & "JS" separation via Python modules
- Flexbox-like layout (vertical stacking by default)
- Support for
%,fit-content, and fixed dimensions - Pseudo-states & transitions (coming soon!)
Prerequisites
- Python 3.7 or newer
- Tkinter (typically included with standard Python installs)
Installation
git clone https://github.com/YOUR_USERNAME/structtkinter.git
cd structtkinter
# (Optionally) create a virtualenv:
python -m venv .venv
source .venv/bin/activate # macOS/Linux
.\.venv\Scripts\activate # Windows
# Run the example:
python examples/example1/stk/index.py
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
structtkinter-0.1.0.tar.gz
(2.7 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
File details
Details for the file structtkinter-0.1.0.tar.gz.
File metadata
- Download URL: structtkinter-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd2ed2823c6eec43e8b3536cb1b2e0cc2954384a5eca145f4125a1714725ebb0
|
|
| MD5 |
6a6242ad75e146601b86bbd3f0be70fa
|
|
| BLAKE2b-256 |
e9ee5ad54c54655395a8b5a1ecbf60e7ebf1e86a5dc8d07f273d2df3bd3cd76a
|
File details
Details for the file structtkinter-0.1.0-py3-none-any.whl.
File metadata
- Download URL: structtkinter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12158b9e1bc4d515c540acfc7fdc087f0c11df8f9aa4b04ff7df273e3063b4c2
|
|
| MD5 |
986ebdb4a5082e4b16d853f74696b8a0
|
|
| BLAKE2b-256 |
974b08c11bc31c4de09694f3a5f276d0388b2a1f6e050181364e9a6a51f96aee
|