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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tkshadowfy-0.1.0.tar.gz.
File metadata
- Download URL: tkshadowfy-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf7a6b0fe6172c429110ed70da52a83f4794ca26267b0cc06065ce23e337240a
|
|
| MD5 |
fa03889ceb152751f7d1e86e0b44bdbe
|
|
| BLAKE2b-256 |
a3c754d96de21a9372ed41f210480874acc2888a6d6b5d10573f6560f5a67c09
|
File details
Details for the file tkshadowfy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tkshadowfy-0.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9969bc6e9279d5b3410013bab3fd11a4378419bb49e51bd1bf06afa1f51f20fd
|
|
| MD5 |
1861d4bf0dea6b29fb2a77c96235de4e
|
|
| BLAKE2b-256 |
ba827a84f40ddcc915d6a0e2ff2619402b4d3a29b7a980b8a6f6a15015a30b09
|