Spinner (lv_spinner)

The Spinner Widget is a spinning arc over a ring, typically used to show some type of activity is in progress.

Edit on GitHub

Overview

The Spinner Widget is a spinning arc over a ring, typically used to show some type of activity is in progress.

Parts and Styles

Spinner's parts are identical to those of Arc.

Usage

Create a spinner

To create a spinner use lv_spinner_create(parent).

Use lv_spinner_set_anim_params(spinner, spin_duration, angle) to customize the duration of one revolution and the length of the arc.

Events

No special events are sent by Spinner Widgets.

Further Reading

Learn more about Events emitted by all Widgets.

Learn more about events.

Keys

No Keys are processed by Spinner Widgets.

Further Reading

Learn more about Keys.

Example

Simple spinner

API

How is this guide?

Last updated on

On this page