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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8abaf7e34d3c65a2e9b67f88c30766e82bb32d5cab275fe39276d9eeb13354b6
MD5 1f66fc8485da6e5cfb4eb034aa96e1f8
BLAKE2b-256 14a52d5f28efb2e73b7fe317041f856546829efa4a3816b788dea70533e84947

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 64.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac51a4caa0da74c93b7ef88c503cb696abde0ae0be542999d1245646841f9005
MD5 86cb2cef86664341bdaeb80f1109ec04
BLAKE2b-256 de3f9be933fd705423ad0df8b59df7f1aeff4eb503422d6557cf8593c571971f

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