Spinner (lv_spinner)
The Spinner Widget is a spinning arc over a ring, typically used to show some type of activity is in progress.
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.
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
Spinbox (lv_spinbox)
Spinbox contains an integer displayed as a decimal number with a possible fixed decimal point position and a configurable number of digits. The value can be increased or decreased by Keys or API fu...
Switch (lv_switch)
Switch Widgets look like little sliders and are used to display, and optionally modify, a value that can be "on" or "off".