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.2.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.2-py3-none-any.whl (64.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6ccf9cbe2aa711507aea94ffca09ea9a750ef7e2fdae0f9f77a058495966c140
MD5 c5dee21f2aafb8b5f372cdf3b3b459f2
BLAKE2b-256 718b803a693fe67e828363154469c96a939254eb062e74221f26201419be50df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 64.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 796004c730254d197727aaa9ee786dac3fd22f46bead0576ac088eda3656f48b
MD5 e85f338177f27fde97073bd6402238b1
BLAKE2b-256 6cee90e9a44c98fcbb15e5433c9cf78a0934af047570657655e1a61200c8e407

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