I am currently creating a program with a loading bar (Tkinter ProgressBar) in Tkinter. The problem is - that using tkinter.ttk
is a pain - I have to change pretty much all of my code using that method, and seeming as I am fairly new to Tkinter, it isn't ideal to do so. Is there any other way of using the progressbar
widget without the tkinter.ttk
module?
(If I had to use the tkinter.ttk
module I would have to spend hours sifting through my code and changing it - which I don't want to do!!)
Many thanks in advance!
Tkinter doesn't have a progress bar except through ttk.
If you find tkinter.ttk.progressbar
too difficult, just change how you import it.
For example:
from tkinter.ttk import Progressbar
...
pb = Progressbar(...)
or this, which I think is the better solution:
from tkinter import ttk
...
pb = ttk.Progressbar(...)