# lv_spinbox.h (/api/public/widgets/lv_spinbox_h)



<RelatedHeaders name="lv_spinbox_private.h" isPrivate="false" />

<ApiSummary functions="25" enums="1" macros="1" variables="1" />

Functions [#functions]

<ApiTabs items="[&#x22;Setters (11)&#x22;,&#x22;Getters (8)&#x22;,&#x22;Other (6)&#x22;]">
  <ApiTab value="Setters (11)">
    <ApiMember kind="function" name="lv_spinbox_set_value" file="public/widgets/lv_spinbox.h" line="66" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L66">
      lv_spinbox_set_value [#lv_spinbox_set_value]

      Set spinbox value

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_value(lv_obj_t *obj, int32_t v)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
      | `v`   | `int32_t`                                        | value to be set    |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_rollover" file="public/widgets/lv_spinbox.h" line="73" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L73">
      lv_spinbox_set_rollover [#lv_spinbox_set_rollover]

      Set spinbox rollover function

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_rollover(lv_obj_t *obj, bool rollover)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name       | Type                                             | Description                                  |
      | ---------- | ------------------------------------------------ | -------------------------------------------- |
      | `obj`      | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox                           |
      | `rollover` | `bool`                                           | true or false to enable or disable (default) |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_digit_format" file="public/widgets/lv_spinbox.h" line="82" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L82">
      lv_spinbox_set_digit_format [#lv_spinbox_set_digit_format]

      Set spinbox digit format (digit count and decimal format)

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_digit_format(lv_obj_t *obj, uint32_t digit_count, uint32_t sep_pos)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name          | Type                                             | Description                                                                |
      | ------------- | ------------------------------------------------ | -------------------------------------------------------------------------- |
      | `obj`         | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox                                                         |
      | `digit_count` | `uint32_t`                                       | number of digit excluding the decimal separator and the sign               |
      | `sep_pos`     | `uint32_t`                                       | number of digit before the decimal point. If 0, decimal point is not shown |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_digit_count" file="public/widgets/lv_spinbox.h" line="89" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L89">
      lv_spinbox_set_digit_count [#lv_spinbox_set_digit_count]

      Set the number of digits

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_digit_count(lv_obj_t *obj, uint32_t digit_count)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name          | Type                                             | Description        |
      | ------------- | ------------------------------------------------ | ------------------ |
      | `obj`         | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
      | `digit_count` | `uint32_t`                                       | number of digits   |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_dec_point_pos" file="public/widgets/lv_spinbox.h" line="96" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L96">
      lv_spinbox_set_dec_point_pos [#lv_spinbox_set_dec_point_pos]

      Set the position of the decimal point

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_dec_point_pos(lv_obj_t *obj, uint32_t dec_point_pos)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name            | Type                                             | Description                                     |
      | --------------- | ------------------------------------------------ | ----------------------------------------------- |
      | `obj`           | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox                              |
      | `dec_point_pos` | `uint32_t`                                       | 0: there is no separator, 2: two integer digits |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_step" file="public/widgets/lv_spinbox.h" line="103" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L103">
      lv_spinbox_set_step [#lv_spinbox_set_step]

      Set spinbox step

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_step(lv_obj_t *obj, uint32_t step)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name   | Type                                             | Description                                                                            |
      | ------ | ------------------------------------------------ | -------------------------------------------------------------------------------------- |
      | `obj`  | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox                                                                     |
      | `step` | `uint32_t`                                       | steps on increment/decrement. Can be 1, 10, 100, 1000, etc the digit that will change. |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_range" file="public/widgets/lv_spinbox.h" line="111" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L111">
      lv_spinbox_set_range [#lv_spinbox_set_range]

      Set spinbox value range

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_range(lv_obj_t *obj, int32_t min_value, int32_t max_value)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name        | Type                                             | Description              |
      | ----------- | ------------------------------------------------ | ------------------------ |
      | `obj`       | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox       |
      | `min_value` | `int32_t`                                        | minimum value, inclusive |
      | `max_value` | `int32_t`                                        | maximum value, inclusive |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_min_value" file="public/widgets/lv_spinbox.h" line="118" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L118">
      lv_spinbox_set_min_value [#lv_spinbox_set_min_value]

      Set the minimum value

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_min_value(lv_obj_t *obj, int32_t min_value)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name        | Type                                             | Description        |
      | ----------- | ------------------------------------------------ | ------------------ |
      | `obj`       | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
      | `min_value` | `int32_t`                                        | the minimum value  |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_max_value" file="public/widgets/lv_spinbox.h" line="125" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L125">
      lv_spinbox_set_max_value [#lv_spinbox_set_max_value]

      Set the maximum value

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_max_value(lv_obj_t *obj, int32_t max_value)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name        | Type                                             | Description        |
      | ----------- | ------------------------------------------------ | ------------------ |
      | `obj`       | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
      | `max_value` | `int32_t`                                        | the maximum value  |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_cursor_pos" file="public/widgets/lv_spinbox.h" line="132" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L132">
      lv_spinbox_set_cursor_pos [#lv_spinbox_set_cursor_pos]

      Set cursor position to a specific digit for edition

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_cursor_pos(lv_obj_t *obj, uint32_t pos)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description                  |
      | ----- | ------------------------------------------------ | ---------------------------- |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox           |
      | `pos` | `uint32_t`                                       | selected position in spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_digit_step_direction" file="public/widgets/lv_spinbox.h" line="139" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L139">
      lv_spinbox_set_digit_step_direction [#lv_spinbox_set_digit_step_direction]

      Set direction of digit step when clicking an encoder button while in editing mode

      ```c title=" " lineNumbers=1
      void lv_spinbox_set_digit_step_direction(lv_obj_t *obj, lv_dir_t direction)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name        | Type                                             | Description                                     |
      | ----------- | ------------------------------------------------ | ----------------------------------------------- |
      | `obj`       | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox                              |
      | `direction` | <ApiLink name="lv_dir_t" />                      | the direction (LV\_DIR\_RIGHT or LV\_DIR\_LEFT) |
    </ApiMember>
  </ApiTab>

  <ApiTab value="Getters (8)">
    <ApiMember kind="function" name="lv_spinbox_get_rollover" file="public/widgets/lv_spinbox.h" line="149" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L149">
      lv_spinbox_get_rollover [#lv_spinbox_get_rollover]

      Get spinbox rollover function status

      ```c title=" " lineNumbers=1
      bool lv_spinbox_get_rollover(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_value" file="public/widgets/lv_spinbox.h" line="156" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L156">
      lv_spinbox_get_value [#lv_spinbox_get_value]

      Get the spinbox numeral value (user has to convert to float according to its digit format)

      ```c title=" " lineNumbers=1
      int32_t lv_spinbox_get_value(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `int32_t` — value integer value of the spinbox
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_step" file="public/widgets/lv_spinbox.h" line="163" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L163">
      lv_spinbox_get_step [#lv_spinbox_get_step]

      Get the spinbox step value (user has to convert to float according to its digit format)

      ```c title=" " lineNumbers=1
      int32_t lv_spinbox_get_step(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `int32_t` — value integer step value of the spinbox
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_digit_count" file="public/widgets/lv_spinbox.h" line="170" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L170">
      lv_spinbox_get_digit_count [#lv_spinbox_get_digit_count]

      Get the spinbox digit count

      ```c title=" " lineNumbers=1
      uint32_t lv_spinbox_get_digit_count(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `uint32_t` — number of digits
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_dec_point_pos" file="public/widgets/lv_spinbox.h" line="177" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L177">
      lv_spinbox_get_dec_point_pos [#lv_spinbox_get_dec_point_pos]

      Get the decimal point position

      ```c title=" " lineNumbers=1
      uint32_t lv_spinbox_get_dec_point_pos(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `uint32_t` — decimal point position
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_min_value" file="public/widgets/lv_spinbox.h" line="184" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L184">
      lv_spinbox_get_min_value [#lv_spinbox_get_min_value]

      Get the spinbox minimum value

      ```c title=" " lineNumbers=1
      int32_t lv_spinbox_get_min_value(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `int32_t` — minimum value
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_max_value" file="public/widgets/lv_spinbox.h" line="191" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L191">
      lv_spinbox_get_max_value [#lv_spinbox_get_max_value]

      Get the spinbox maximum value

      ```c title=" " lineNumbers=1
      int32_t lv_spinbox_get_max_value(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** `int32_t` — maximum value
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_digit_step_direction" file="public/widgets/lv_spinbox.h" line="198" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L198">
      lv_spinbox_get_digit_step_direction [#lv_spinbox_get_digit_step_direction]

      Get the digit step direction

      ```c title=" " lineNumbers=1
      lv_dir_t lv_spinbox_get_digit_step_direction(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |

      **Returns:** <ApiLink name="lv_dir_t" /> — direction (LV\_DIR\_RIGHT or LV\_DIR\_LEFT)
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (6)">
    <ApiMember kind="function" name="lv_spinbox_create" file="public/widgets/lv_spinbox.h" line="55" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L55">
      lv_spinbox_create [#lv_spinbox_create]

      Create a spinbox object

      ```c title=" " lineNumbers=1
      lv_obj_t * lv_spinbox_create(lv_obj_t *parent)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name     | Type                                             | Description                                                                                                         |
      | -------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
      | `parent` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to a parent widget **May** be `NULL`.. When NULL, the widget is created as a screen on the default display. |

      **Returns:** <ApiLink name="lv_obj_t" display="lv_obj_t *" /> — pointer to the created spinbox
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_step_next" file="public/widgets/lv_spinbox.h" line="208" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L208">
      lv_spinbox_step_next [#lv_spinbox_step_next]

      Select next lower digit for edition by dividing the step by 10

      ```c title=" " lineNumbers=1
      void lv_spinbox_step_next(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_step_prev" file="public/widgets/lv_spinbox.h" line="214" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L214">
      lv_spinbox_step_prev [#lv_spinbox_step_prev]

      Select next higher digit for edition by multiplying the step by 10

      ```c title=" " lineNumbers=1
      void lv_spinbox_step_prev(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_increment" file="public/widgets/lv_spinbox.h" line="220" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L220">
      lv_spinbox_increment [#lv_spinbox_increment]

      Increment spinbox value by one step

      ```c title=" " lineNumbers=1
      void lv_spinbox_increment(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_decrement" file="public/widgets/lv_spinbox.h" line="226" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L226">
      lv_spinbox_decrement [#lv_spinbox_decrement]

      Decrement spinbox value by one step

      ```c title=" " lineNumbers=1
      void lv_spinbox_decrement(lv_obj_t *obj)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name  | Type                                             | Description        |
      | ----- | ------------------------------------------------ | ------------------ |
      | `obj` | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> | pointer to spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_bind_value" file="public/widgets/lv_spinbox.h" line="237" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L237">
      lv_spinbox_bind_value [#lv_spinbox_bind_value]

      Bind an integer subject to a Spinbox's value.

      ```c title=" " lineNumbers=1
      lv_observer_t * lv_spinbox_bind_value(lv_obj_t *obj, lv_subject_t *subject)
      ```

      <span className="sr-only">
        Parameters
      </span>

      | Name      | Type                                                     | Description        |
      | --------- | -------------------------------------------------------- | ------------------ |
      | `obj`     | <ApiLink name="lv_obj_t" display="lv_obj_t *" />         | pointer to Spinbox |
      | `subject` | <ApiLink name="lv_subject_t" display="lv_subject_t *" /> | pointer to Subject |

      **Returns:** <ApiLink name="lv_observer_t" display="lv_observer_t *" /> — pointer to newly-created Observer
    </ApiMember>
  </ApiTab>
</ApiTabs>

Enums [#enums]

<ApiMember kind="enum" name="_lv_property_spinbox_id_t" file="public/widgets/lv_spinbox.h" line="32" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L32">
  \_lv_property_spinbox_id_t [#_lv_property_spinbox_id_t]

  | Name                                       | Value                                                             |
  | ------------------------------------------ | ----------------------------------------------------------------- |
  | `LV_PROPERTY_SPINBOX_VALUE`                | `(LV_PROPERTY_SPINBOX_START + ((int) 0 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_ROLLOVER`             | `(LV_PROPERTY_SPINBOX_START + ((int) 1 )) \| ((  11   ) <<  28 )` |
  | `LV_PROPERTY_SPINBOX_DIGIT_COUNT`          | `(LV_PROPERTY_SPINBOX_START + ((int) 2 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_DEC_POINT_POS`        | `(LV_PROPERTY_SPINBOX_START + ((int) 3 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_STEP`                 | `(LV_PROPERTY_SPINBOX_START + ((int) 4 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_MIN_VALUE`            | `(LV_PROPERTY_SPINBOX_START + ((int) 5 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_MAX_VALUE`            | `(LV_PROPERTY_SPINBOX_START + ((int) 6 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_DIGIT_STEP_DIRECTION` | `(LV_PROPERTY_SPINBOX_START + ((int) 7 )) \| ((  1   ) <<  28 )`  |
  | `LV_PROPERTY_SPINBOX_END`                  |                                                                   |
</ApiMember>

Macros [#macros]

<ApiMember kind="macro" name="LV_SPINBOX_MAX_DIGIT_COUNT" file="public/widgets/lv_spinbox.h" line="23" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L23">
  LV_SPINBOX_MAX_DIGIT_COUNT [#lv_spinbox_max_digit_count]

  ```c title=" " lineNumbers=1
  #define LV_SPINBOX_MAX_DIGIT_COUNT 10
  ```
</ApiMember>

Variables [#variables]

<ApiMember kind="variable" name="lv_spinbox_class" file="public/widgets/lv_spinbox.h" line="29" url="https://github.com/lvgl/lvgl/tree/e1a0ad863f29742359bc680d6a7d973448ec2285/include/lvgl/widgets/lv_spinbox.h#L29">
  lv_spinbox_class [#lv_spinbox_class]

  ```c title=" " lineNumbers=1
  const lv_obj_class_t lv_spinbox_class
  ```
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_textarea.h&#x22;]" includedBy="[&#x22;lvgl.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_display.h&#x22;, &#x22;lv_draw.h&#x22;, &#x22;lv_draw_arc.h&#x22;, &#x22;lv_draw_blur.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_draw_image.h&#x22;, &#x22;lv_draw_label.h&#x22;, &#x22;lv_draw_line.h&#x22;, &#x22;lv_draw_rect.h&#x22;, &#x22;lv_draw_triangle.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_fs.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_decoder.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_label.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_matrix.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj.h&#x22;, &#x22;lv_obj_class.h&#x22;, &#x22;lv_obj_draw.h&#x22;, &#x22;lv_obj_event.h&#x22;, &#x22;lv_obj_pos.h&#x22;, &#x22;lv_obj_property.h&#x22;, &#x22;lv_obj_scroll.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_obj_tree.h&#x22;, &#x22;lv_observer.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_profiler.h&#x22;, &#x22;lv_profiler_builtin.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
