acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

spinner.md (904B)

      1 ```eval_rst
      2 .. include:: /header.rst
      3 :github_url: |github_link_base|/widgets/extra/spinner.md
      4 ```
      5 # Spinner (lv_spinner)
      6 
      7 ## Overview
      8 The Spinner object is a spinning arc over a ring.
      9 
     10 ## Parts and Styles
     11 The parts are identical to the parts of [lv_arc](/widgets/core/arc).
     12 
     13 ## Usage
     14 
     15 ### Create a spinner
     16 
     17 To create a spinner use `lv_spinner_create(parent, spin_time, arc_length)`. `spin time` sets the spin time in milliseconds, `arc_length` sets the length of the spinning arc in degrees.
     18 
     19 ## Events
     20 No special events are sent to the Spinner.
     21 
     22 See the events of the [Arc](/widgets/core/arc) too.
     23 
     24 Learn more about [Events](/overview/event).
     25 
     26 ## Keys
     27 No *Keys* are processed by the object type.
     28 
     29 Learn more about [Keys](/overview/indev).
     30 
     31 
     32 
     33 ## Example
     34 
     35 ```eval_rst
     36 
     37 .. include:: ../../../examples/widgets/spinner/index.rst
     38 
     39 ```
     40 
     41 ## API
     42 
     43 ```eval_rst
     44 
     45 .. doxygenfile:: lv_spinner.h
     46   :project: lvgl
     47 
     48 ```