ProgressBar
Horizontal bar showing progress.
| Header | #include "nativeui/progress.h" |
| Namespace | namespace nu |
| Type | class (RefCounted) |
| Inherits | View |
Constructors
ProgressBar()
Create a new ProgressBar.
Class properties
const char* kClassName
The class name of this view.
Methods
void SetValue(float percent)
Set the percent value between 0 and 100.0.
Parameters
floatpercent
float GetValue() const
Return the percent value between 0 and 100.0.
Return
floatvoid SetIndeterminate(bool indeterminate)
Set whether the progress bar is indeterminate.
Parameters
boolindeterminate
bool IsIndeterminate() const
Return whether the progress bar is indeterminate.
Return
bool