-
Notifications
You must be signed in to change notification settings - Fork 4
CTkProgressPopup
Rudy edited this page May 29, 2024
·
2 revisions
# CTkProgressPopup
progress_popup = CTkProgressPopup(master=app, title="Background Tasks", label="Label...", message="Do something...", side="right_bottom")
progress_popup.update_label("New Label...") # This will update the label of the progress popup.
progress_popup.update_message("New Message...") # This will update the message of the progress popup.
progress_popup.update_progress(0.50) # This will update the progress bar of the progress popup (0.0 - 1.0).
progress_popup.cancel_task() # This will cancel the task and close the progress popup.
Parameter | Description |
---|---|
master |
Set parent window, the widget will spawn at right bottom of the parent window |
title |
Title of progressbar (Background Tasks: default) |
label |
Label text of progressbar (Label...: default) |
message |
Message or body text of progressbar (Do something...: default) |
side |
The position where the widget should be displayed (right_bottom: default) |