Handbook
Glossary
set-progress-bar ( ratio/float -- )
Progress bar models
Prev:
with-progress-bar ( quot -- )
Next:
with-file-reader-progress ( path encoding quot -- )
Vocabulary
progress-bars
.
models
Inputs
ratio/float
a real number between 0 and 1
Outputs
None
Word description
Sets the progress-bar model in the current scope to the percent that the task has been completed.
Definition
USING:
models
namespaces
;
IN:
progress-bars.models
:
set-progress-bar
( ratio/float -- )
\
progress-bar
get
set-model
;