Progress

subclass of Widget
creates a widget in which the progress of some action will be displayed. The -steps option gives the number of steps needed to progess through for completion of the task. The program using the progressbar calls the "next" method each time a step of the task is completed.The prograssbar displays the percentage of steps done, vs the number of steps to do. The progressbar has the concept of subtasks: if the -steps value is a list, e.g. {2 5} the taks contains 2 main steps, each of which has 5 substeps. Progress in the subtask is given using the next method with the level parameter (here 1). The number of subtasks per level can be changed while running using the steps method: Using the -steps options will reset the counters. The counters can be reset to 0 at any time using the reset method The display will be updated every -refresh miliseconds (if next is called enough)

Progress specific options

Command-Line Name: -ticks
Database Name: ticks
Database Class: Ticks
Command-Line Name: -steps
Database Name: steps
Database Class: Steps
Command-Line Name: -refresh
Database Name: refresh
Database Class: Refresh

Progress specific methods

pathname set value
pathname get
pathname percentconfigure ?option? ?value? ...
change the properties of the text displaying the percentage
pathname barconfigure ?option? ?value? ...
change the properties of the bar
pathname redraw
redraw progress bar