ProgressBar
Category | refcounted |
Type | hime_progress_bar_t |
Inherits | View |
Horizontal bar showing progress.
Since ProgressBar does not have any text displayed, an accessible name must be
assigned via SetAccessibleName
method of View
.
Constructors
hime_progress_bar_t hime_progress_bar_create()
Create a new ProgressBar.
Return
hime_progress_bar_t
Methods
void hime_progress_bar_set_value(self, value)
Set progress bar's value in interval [0, 1].
Parameters
hime_progress_bar_t
selffloat
value
Return
void
float hime_progress_bar_get_value(self)
Return progress bar's value in interval [0, 1].
Parameters
Return
float
void hime_progress_bar_set_indeterminate(self, indeterminate)
Set whether the progress bar is indeterminate.
Parameters
hime_progress_bar_t
selfbool
indeterminate
Return
void
bool hime_progress_bar_is_indeterminate(self)
Return whether the progress bar is indeterminate.
Parameters
Return
bool