ProgressBar

Horizontal bar showing progress.

Header#include "nativeui/progress.h"
Namespacenamespace nu
Typeclass (RefCounted)
InheritsView

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 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 IsIndeterminate() const

Return whether the progress bar is indeterminate.

Return

bool