A modern color picker for customtkinter
Project description
CTkColorPicker
A modern color picker made for customtkinter!
Download
pip install CTkColorPicker
Requirements
How to use?
import customtkinter as ctk
from CTkColorPicker import AskColor
def ask_color():
pick_color = AskColor() # Open the Color Picker
color = pick_color.get() # Get the color
button.configure(fg_color=color)
root = ctk.CTk()
button = ctk.CTkButton(master=root, text="CHOOSE COLOR", text_color="black", command=ask_color)
button.pack(padx=30, pady=20)
root.mainloop()
Thats all, hope it will help!
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
CTkColorPicker-0.3.0.tar.gz
(120.0 kB
view details)
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 CTkColorPicker-0.3.0.tar.gz.
File metadata
- Download URL: CTkColorPicker-0.3.0.tar.gz
- Upload date:
- Size: 120.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77c1356e29a70562bb5470041d25d74186db042b4b33895d976f57f049e72ae3
|
|
| MD5 |
5e2fa7d49672c575fb3695ab873b04cf
|
|
| BLAKE2b-256 |
8b4a1d49d91952eb6e39e4e19a0c36fe357cae3fbe457ac7e38551e5dc53aa38
|
File details
Details for the file CTkColorPicker-0.3.0-py3-none-any.whl.
File metadata
- Download URL: CTkColorPicker-0.3.0-py3-none-any.whl
- Upload date:
- Size: 119.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cec6c4f3cc22153dd9b834b16ddda293fe6a94a115e2994435737839dc849172
|
|
| MD5 |
8cfca1018713be12e2b56cbe5fc95a62
|
|
| BLAKE2b-256 |
98043f0e7eec6f6970e2126459b3486ba703fd4f78790320fc036b589357f01f
|