You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

structtkinter

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

structtkinter

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

0.1.1
Source
pipPyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts