Skip to main content

A library for adding shadow effects to Tkinter widgets

Project description

TkShadowfy is a Python library for adding shadow effects to Tkinter widgets. It provides an easy way to add dynamic shadows that respond to hover and click events.

Installation

You can install TkShadowfy using pip:

pip install tkshadowfy

Usage

Here's a simple example of how to use TkShadowfy:

import tkinter as tk
from tkshadowfy import Shadow

root = tk.Tk()
label = tk.Label(root, text="Hello, World!")
label.pack(pady=20)

shadow = Shadow(label, color='#000000', size=5, offset_x=2, offset_y=2, opacity=0.3)

root.mainloop()

For more examples and detailed usage instructions, please refer to the documentation.

Author

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

tkshadowfy-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

tkshadowfy-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file tkshadowfy-1.0.0.tar.gz.

File metadata

  • Download URL: tkshadowfy-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for tkshadowfy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 18556e32f8c52f791aa862e4333f4b6fa3202f6db81caf6e16bc3b93772b4718
MD5 f49f3b4da98e5b8721fd0a98545f264c
BLAKE2b-256 22ffadf5b6a9d4822b396c2d26520d138f3549fdfbcb64d2a0ab998fb96935ec

See more details on using hashes here.

File details

Details for the file tkshadowfy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tkshadowfy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for tkshadowfy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e935e1eaf35b04d5b7ce82a933a061bca519e9482573a57844ccc3836ccd5705
MD5 041a5e41087086a3c6932c2d27e2c3e0
BLAKE2b-256 b040308dbc5e79431eca3756550cc172097bd6057dd11fdef6b27ecc7a97f190

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