ProgressBar
Horizontal bar showing progress.
| Module | require("yue.gui") |
| Type | Class |
| Inherits | View |
Class methods
create()
Create a new ProgressBar.
Return
ProgressBarMethods
setvalue(percent)
Set the percent value between 0 and 100.0.
Parameters
numberpercent
getvalue()
Return the percent value between 0 and 100.0.
Return
numbersetindeterminate(indeterminate)
Set whether the progress bar is indeterminate.
Parameters
booleanindeterminate
isindeterminate()
Return whether the progress bar is indeterminate.
Return
boolean