Progress::New — New complex progress bar with stages.
Import Progress;
void
Progress::New
( | string | window_title , |
string | progress_title , | |
integer | length , | |
list<string> | stg , | |
list | tits , | |
string | help_text
) ; |
title of the window
title of the progress bar. Pass at least " " (one space) if you want some progress bar title.
number of steps. If 0, no progress bar is created, there are only stages and bottom title. THIS IS NOT NUMBER OF STAGES!
list of strings - stage names. If it is nil, then there are no stages.
Titles corresponding to stages. When stage changes, progress bar title changes to one of these titles. May be nil/empty.
help text