CTkLoadingPopup
A modern loading popup widget for Python CustomTkinter.
import customtkinter
from CTkLoadingPopup import CTkLoadingPopup
app = customtkinter.CTk()
app.geometry("400x400")
CTkLoadingPopup(app)
app.mainloop()
Usage
Using pip
pip install CTkLoadingPopup
Without installation
Simply download the CTkLoadingPopup folder and place it in your script directory.
Arguments
| Parameter | Description |
|---|---|
| parent | root or toplevel, required |
| text | popup text |
| progress | float, from 0.0 to 1.0 |
| start_angle | initial angle of the spinner |
| indeterminate_speed | speed of the spinning in the indeterminate mode |
| spinner_size | size of the spinner |
| spinner_width | width of the spinner outline |
| corner_radius | corner radius of popup |
| border_width | border width of popup |
| border_color | border color of popup |
| font | font of popup text |
| bg_color | popup background color |
| text_color | text color |
| spinner_color | spinner color |
| progress_color | spinner progress color |
| mode | "indeterminate" (by default) or "determinate" |
| padx | set horizontal padding |
| pady | set vertical padding |
| cancel_button | add a "Cancel" button that closes the popup |
| cancel_button_text | text of cancel button |
| cancel_button_text_color | text color of cancel button |
| cancel_button_hover_color | hover color of cancel button |
| cancel_button_state | cancel button state (see CTkButton documentation) |
| compound | "left" (by default), "right", "top" |
| close_command | command that is executed before closing |
| other CTkFrame arguments |
Methods
- .configure(*args): change some popup options
- .close()
- .stop(value):
TrueorFalse - .get(): returns progress value (in determinate mode) or None (in indeterminate mode)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ctkloadingpopup-1.1.0.tar.gz
(6.8 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 ctkloadingpopup-1.1.0.tar.gz.
File metadata
- Download URL: ctkloadingpopup-1.1.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5180f32e1f8bd8c62f91c584a68b4acdcbc77b67032e07ca9586a9490028946e
|
|
| MD5 |
c1b8591941e37d45d1b470e1fd11515f
|
|
| BLAKE2b-256 |
32ffd2ec4aca5dde0292278106a82fe10274f15516a78e051f67964041578a49
|
File details
Details for the file ctkloadingpopup-1.1.0-py3-none-any.whl.
File metadata
- Download URL: ctkloadingpopup-1.1.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
984a0d86b146fe5e9016aa2e5c8e3bd4566735ee7f3d38747b2115c25c0d3322
|
|
| MD5 |
3233883ca94137eae58bec953e066544
|
|
| BLAKE2b-256 |
17016d7381035fb172f065ba91677e9e6c33aaafd2e01f585c24af386faa0b57
|