Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progresbar reset #982

Open
svn-josh opened this issue Jan 2, 2023 · 2 comments
Open

Progresbar reset #982

svn-josh opened this issue Jan 2, 2023 · 2 comments

Comments

@svn-josh
Copy link

svn-josh commented Jan 2, 2023

So if we start the app and the Progress is set to mode='indeterminate' it has a default Starting position.
grafik

so after we start it with .start and stop it with .stop
i cant seem to find a way to reset its position
grafik

.set does not work here also i didnt find anything like .reset

@duruburak
Copy link

duruburak commented Jan 6, 2023

There's apparently no support for that yet but you can first destroy and pack it again, it will switch to the default position.

progressbar.stop()
progressbar.destroy()
progressbar = customtkinter.CTkProgressBar(master=root, mode='indeterminate')
progressbar.pack(padx=20, pady=30)

@svn-josh
Copy link
Author

oke thanks,
@TomSchimansky can we maybe add some function to the code in the future that can do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants