Skip to content

Spinner

import { Spinner } from "std-widgets.slint";
export component Example inherits Window {
width: 80px;
height: 80px;
Spinner {
progress: 50%;
}
}
slint
std-widgets spinner example

The Spinner informs the user about the status of an on-going operation, such as loading data from the network. It provides the same properties as ProgressIndicator but differs in shape.

Properties

indeterminate

bool default: false

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

progress

float default: 0.0

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

Spinner {
progress: 0.5;
}
slint

© 2024 SixtyFPS GmbH