Skip to main content

A CSS-like, HTML-inspired UI framework built on top of Tkinter.

Project description

structtkinter

Python Version License: MIT

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


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.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

structtkinter-0.1.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file structtkinter-0.1.1.tar.gz.

File metadata

  • Download URL: structtkinter-0.1.1.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

Hashes for structtkinter-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a2106b7e9cea1819195cccae02cf0ade34fbf88b4017a3a62ae070e0b3a60ea7
MD5 5ac8b168196e8ec870ac72ffdaaaaa8f
BLAKE2b-256 9986be7d47b0f19943fbfdfdb856a3277edb5a06d71334d51f52353e4754c33b

See more details on using hashes here.

File details

Details for the file structtkinter-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: structtkinter-0.1.1-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

Hashes for structtkinter-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bf9c8cc05804b022b9aeb19159eff8667a20fded0044c87d3d5ee7053f210f6
MD5 246df0db2c1ac3b32bbf8fe559cb8b6a
BLAKE2b-256 d6dc491e4138db0e242201898c2e06acc3496df568410927cf97108d876cac63

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page