Updating the
progressbar widget is done by calling the
value()
method. First, you'll want to set the
min
and
max
option values if you're measuring the progress of something specific. By default,
min
and
max
are set to
0
and
100
respectively. So the actual call to update the progressbar is an easy one, what's challenging is figuring out when to do it. For example, you could have some application logic that performs some action, and you're not exactly sure how long it will take. So rather than trying to configure and use the progressbar widget inside of the application logic, it would be nice if there were an interface between the two.