ProgressBar - Garland-g/perl6-libui GitHub Wiki

ProgressBar

Libui::ProgressBar

A progress bar. Shows a percentage of completion, or an indeterminate ProgressBar.

Methods

new()

Creates a ProgressBar.

value() returns Int

Returns the current value of the ProgressBar.

set-value(Int $value) or value(Int $value)

Sets the value of the ProgressBar. Values between 0 and 100 displays that percentage, and -1 displays an indeterminate ProgressBar.