1.. _lv_spinner: 2 3==================== 4Spinner (lv_spinner) 5==================== 6 7 8Overview 9******** 10 11The Spinner Widget is a spinning arc over a ring, typically used to show some type of 12activity is in progress. 13 14 15 16.. _lv_spinner_parts_and_styles: 17 18Parts and Styles 19**************** 20 21Spinner's parts are identical to those of :ref:`Arc <lv_arc_parts_and_styles>`. 22 23 24 25.. _lv_spinner_usage: 26 27Usage 28***** 29 30Create a spinner 31---------------- 32 33To create a spinner use 34:cpp:expr:`lv_spinner_create(parent)`. 35 36Use :cpp:expr:`lv_spinner_set_anim_params(spinner, spin_duration, angle)` to 37customize the duration of one revolution and the length of the arc. 38 39 40 41.. _lv_spinner_events: 42 43Events 44****** 45 46No special events are sent by Spinner Widgets. 47 48.. admonition:: Further Reading 49 50 :ref:`Arc Events <lv_arc_events>` 51 52 Learn more about :ref:`lv_obj_events` emitted by all Widgets. 53 54 Learn more about :ref:`events`. 55 56 57 58.. _lv_spinner_keys: 59 60Keys 61**** 62 63No *Keys* are processed by Spinner Widgets. 64 65.. admonition:: Further Reading 66 67 Learn more about :ref:`indev_keys`. 68 69 70 71.. _lv_spinner_example: 72 73Example 74******* 75 76.. include:: ../../examples/widgets/spinner/index.rst 77 78 79 80.. _lv_spinner_api: 81 82API 83*** 84