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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 20d459391c8957a0dc3072ae913380055be0ac2bfb02ed79b4390fc885bcd9aa
MD5 f933b862d66f4867413a0c65ec41c500
BLAKE2b-256 c4615a71e1ce9c9ccd87f0fe280914b9a0d8edafe2fcc14b427e7a83525f334a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 279acc7aff41871e3baecfc6d9d019d5203fa9537cc20d32b1f9f5b02e525b38
MD5 6559dead78298691a91f27faf8164ac5
BLAKE2b-256 7ec4a653a2bf19bd8b9d9ff5d4a4c6947bcda47f1b45aade180149ee6aac3f3e

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