ProgressBar
Horizontal bar showing progress.
Module | require("gui") |
Type | Class |
Inherits | View |
Class methods
create()
Create a new ProgressBar
.
Return
ProgressBar
Methods
setValue(percent)
Set the percent value between 0
and 100.0
.
Parameters
Number
percent
getValue()
Return the percent value between 0
and 100.0
.
Return
Number
setIndeterminate(indeterminate)
Set whether the progress bar is indeterminate.
Parameters
Boolean
indeterminate
isIndeterminate()
Return whether the progress bar is indeterminate.
Return
Boolean