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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 541f7648dbfffe7395dd89d4f845b5566ffec46f402bf105fb9d9c67fc7240ad
MD5 bd70cfd39d35b000dee7379d4e76a0f9
BLAKE2b-256 e9e924017e5f76e015ca14b1ce96b56b85a8a3c520eafc223fc74ef51635ed30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nebulatk-0.2.1.3-py3-none-any.whl
  • Upload date:
  • Size: 64.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f3d577af136e4406ed5e76e39fff8f7b8a54244f882dbddf5ec79d83d1306f17
MD5 8490b0aa4b6c0a772afbdb210305d8d0
BLAKE2b-256 9c1626bf782cf15559c5b3b1375b72176094b392ab8de8314280d131e0753811

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