ProgressBar
Horizontal bar showing progress.
Module | require("yue.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