Skip to main content

Improved tkinter-style gui system.

Project description

THIS PROJECT IS CURRENTLY IN EARLY DEVELOPMENT

FEEL FREE TO USE, REPORT ALL UNEXPECTED BEHAVIORS, QUESTIONS, OR FEATURE REQUESTS TO:

ctrl.alt.op@gmail.com

NebulaTk is a wrapper of Tkinter that implements many functions that Tkinter does not. Currently, it exclusively uses the tcl Canvas widget to display visuals, to allow for full transparency support. All events, widgets, and functionality has been written either custom or with Pillow.

To run project:

Ensure pillow is installed. The main file is nebulatk.py. When in the main project structure, you can run: python3.xx nebulatk/nebulatk.py This runs a sample window. To run tests, run pytest from the main folder.

Non-TCL functionality:

  1. Non-blocking window mainloop
  2. One-line support
    1. Multiple functions can be chained together, e.g. "Button().place().hide()"
    2. Window creation is done in one line
  3. Window uses similar syntax to widgets
    1. Configuration of the window is done as arguments in creation. E.g. "Window(title="test")"
    2. Most methods that are in widgets, like .place() are also valid methods in the window
  4. Simple image loading, powered by Pillow
    1. Images are passed in simply as paths, and are automatically loaded in, and resized according to the widget size
    2. Full transparency support
    3. Automatic boundaries for images with transparent portions
    4. Different images for different widget states are supported
  5. Default behaviour for everything
  6. TTF files can be loaded and used as fonts, without having to install them
  7. Text is automatically resized to fit the widget, unless specified

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

nebulatk-0.2.1.4.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

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

nebulatk-0.2.1.4-py3-none-any.whl (64.7 kB view details)

Uploaded Python 3

File details

Details for the file nebulatk-0.2.1.4.tar.gz.

File metadata

  • Download URL: nebulatk-0.2.1.4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for nebulatk-0.2.1.4.tar.gz
Algorithm Hash digest
SHA256 6d0811e70870b9b3de3d189fea728ada7b96f61ee0ad929bc78a19618cfd3868
MD5 677e35a075b2abbe96873b331ca67a93
BLAKE2b-256 5441e55105408434f690d5ca57dad5e342dd533dc37a1a20563f8e073c5da758

See more details on using hashes here.

File details

Details for the file nebulatk-0.2.1.4-py3-none-any.whl.

File metadata

  • Download URL: nebulatk-0.2.1.4-py3-none-any.whl
  • Upload date:
  • Size: 64.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for nebulatk-0.2.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 590c39d586238176c84661f017bf1a4abdbbe27286a0e6640fb7974e308be78d
MD5 c9c92b5218ac00f3d82103ad1a5a557d
BLAKE2b-256 5ad791cdad82ced0b34c3b0598ebbb88475f5fe81a2de85cb81bae4a4507d69f

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