CustomTkinter icon indicating copy to clipboard operation
CustomTkinter copied to clipboard

Progresbar reset

Open svn-josh opened this issue 2 years ago • 2 comments

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

svn-josh avatar Jan 02 '23 15:01 svn-josh

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)

duruburak avatar Jan 06 '23 21:01 duruburak

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

svn-josh avatar Jan 11 '23 07:01 svn-josh