Skip to main content

Simple GUI interface builder using Tkinter and Pygame.

Project description

EasWin

EasWin is a simple and lightweight Python module for building GUIs using Tkinter and Pygame with easy keyboard and mouse support.

Installation

pip install easwin

Example

import easwin

counter = 0

def setup():
    global counter, lab
    lab = easwin.soft.label(text=f"Count: {counter}", x=50, y=30, size=24)
    easwin.soft.button(text="Click", x=50, y=100, size=16, height=3, width=7, fonc=increment)

def increment():
    global counter, lab
    counter += 1
    lab.config(text=f"Count: {counter}")

easwin.Window.soft(title="Counter", width=400, height=200, setup=setup, resizable=True)

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

easwin-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

easwin-1.0.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file easwin-1.0.0.tar.gz.

File metadata

  • Download URL: easwin-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for easwin-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8c1cad48b96443a2bc6333a57b3f8f7fe50db704c3e90bdf6566f585f04754a6
MD5 1166d5f7e98f2198282908fae4630c6d
BLAKE2b-256 b51412d537af5593080192710c99b530cf7d9ed4ee78e0021c4a933d99564743

See more details on using hashes here.

File details

Details for the file easwin-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: easwin-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for easwin-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7d351618c5e79e886138ba6ed554949bb0eed2995310a57dc01b8878477b2491
MD5 3f6966f583d60dac57ad8503b95d199a
BLAKE2b-256 596facdcc37309e78761a8c28de517b94ad1bc288094e047dd3bbecd4f5b15f8

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