Enhanced CTkScrollableDropdown with pagination, search and groups support
Project description
CTkScrollableDropdownPP
CTkScrollableDropdownPP is an enhanced dropdown widget for CustomTkinter featuring pagination, live search, and grouping support.
Based on the original CTkScrollableDropdown project.
Features
- Pagination for large lists
- Real-time filtering
- Grouped items (using regex or labels)
- Autocomplete on typing
- Fully customizable appearance
Installation
pip install ctkscrollabledropdownpp
Quick Start
import customtkinter as ctk
from CTkScrollableDropdownPP import CTkScrollableDropdown
app = ctk.CTk()
app.geometry("400x300")
combobox = ctk.CTkComboBox(
master=app,
values=[],
width=200,
height=30
)
combobox.pack(pady=50)
values = [f"Item {i}" for i in range(1, 101)]
dropdown = CTkScrollableDropdown(
attach=combobox,
values=values,
command=lambda v: print("Selected:", v),
autocomplete=True,
groups=[
('1-50', r'^Item ([1-9]|[1-4][0-9]|50)$'),
('Others', '__OTHERS__')
],
)
app.mainloop()
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
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 ctkscrollabledropdownpp-2.0.4.tar.gz.
File metadata
- Download URL: ctkscrollabledropdownpp-2.0.4.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fcf25f4b7bdbb6e3729d8526871e3f48e81504e37083d3c1b626bdef052a1a7
|
|
| MD5 |
23af0122776e2ac411ab3973db5249b6
|
|
| BLAKE2b-256 |
6d302d833374f951a2fafa318902499774ef23350e644ab1ec5d2f72b9f0c90b
|
File details
Details for the file ctkscrollabledropdownpp-2.0.4-py3-none-any.whl.
File metadata
- Download URL: ctkscrollabledropdownpp-2.0.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc30e242fe8a78a3b514522004374831a77bb3b30298ae5a645ad4758ba168a0
|
|
| MD5 |
7d139e7f72cd51eb7f3b7cbcdc49cc58
|
|
| BLAKE2b-256 |
8b0e82c916b2bb3f7d963a135554307490bb2a792fcf1153c8bc764cd8f8e936
|