Skip to content
This is the unreleased documentation for the next version of Slint.
For up-to-date documentation, see here.

ProgressIndicator

import { ProgressIndicator } from "std-widgets.slint";
export component Example inherits Window {
width: 200px;
height: 25px;
ProgressIndicator {
width: parent.width;
height: parent.height;
progress: 50%;
}
}
slint
progressindicator example

The ProgressIndicator informs the user about the status of an on-going operation, such as loading data from the network.

Properties

indeterminate

bool default: false

Set to true if the progress of the operation cannot be determined by value.

progress

float default: 0

Percentage of completion, as value between 0 and 1. Values less than 0 or greater than 1 are capped.

ProgressIndicator {
progress: 0.5;
}
slint

Copyright © SixtyFPS GmbH