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
float
percent
float GetValue() const
Return the percent value between 0
and 100.0
.
Return
float
void SetIndeterminate(bool indeterminate)
Set whether the progress bar is indeterminate.
Parameters
bool
indeterminate
bool IsIndeterminate() const
Return whether the progress bar is indeterminate.
Return
bool