# lv_spinbox.h (/api/widgets/spinbox/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="widgets/spinbox/lv_spinbox.h" line="70" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L70">
      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`   | <ApiLink name="int32_t" />                       | value to be set    |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_rollover" file="widgets/spinbox/lv_spinbox.h" line="77" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L77">
      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` | <ApiLink name="bool" />                          | true or false to enable or disable (default) |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_digit_format" file="widgets/spinbox/lv_spinbox.h" line="86" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L86">
      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` | <ApiLink name="uint32_t" />                      | number of digit excluding the decimal separator and the sign               |
      | `sep_pos`     | <ApiLink name="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="widgets/spinbox/lv_spinbox.h" line="93" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L93">
      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` | <ApiLink name="uint32_t" />                      | number of digits   |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_dec_point_pos" file="widgets/spinbox/lv_spinbox.h" line="100" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L100">
      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` | <ApiLink name="uint32_t" />                      | 0: there is no separator, 2: two integer digits |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_step" file="widgets/spinbox/lv_spinbox.h" line="107" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L107">
      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` | <ApiLink name="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="widgets/spinbox/lv_spinbox.h" line="115" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L115">
      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` | <ApiLink name="int32_t" />                       | minimum value, inclusive |
      | `max_value` | <ApiLink name="int32_t" />                       | maximum value, inclusive |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_min_value" file="widgets/spinbox/lv_spinbox.h" line="122" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L122">
      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` | <ApiLink name="int32_t" />                       | the minimum value  |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_max_value" file="widgets/spinbox/lv_spinbox.h" line="129" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L129">
      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` | <ApiLink name="int32_t" />                       | the maximum value  |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_cursor_pos" file="widgets/spinbox/lv_spinbox.h" line="136" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L136">
      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` | <ApiLink name="uint32_t" />                      | selected position in spinbox |
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_set_digit_step_direction" file="widgets/spinbox/lv_spinbox.h" line="143" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L143">
      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="widgets/spinbox/lv_spinbox.h" line="153" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L153">
      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="widgets/spinbox/lv_spinbox.h" line="160" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L160">
      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:** <ApiLink name="int32_t" /> — value integer value of the spinbox
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_step" file="widgets/spinbox/lv_spinbox.h" line="167" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L167">
      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:** <ApiLink name="int32_t" /> — value integer step value of the spinbox
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_digit_count" file="widgets/spinbox/lv_spinbox.h" line="174" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L174">
      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:** <ApiLink name="uint32_t" /> — number of digits
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_dec_point_pos" file="widgets/spinbox/lv_spinbox.h" line="181" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L181">
      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:** <ApiLink name="uint32_t" /> — decimal point position
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_min_value" file="widgets/spinbox/lv_spinbox.h" line="188" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L188">
      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:** <ApiLink name="int32_t" /> — minimum value
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_max_value" file="widgets/spinbox/lv_spinbox.h" line="195" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L195">
      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:** <ApiLink name="int32_t" /> — maximum value
    </ApiMember>

    <ApiMember kind="function" name="lv_spinbox_get_digit_step_direction" file="widgets/spinbox/lv_spinbox.h" line="202" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L202">
      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="widgets/spinbox/lv_spinbox.h" line="59" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L59">
      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 an object, it will be the parent of the new spinbox |

      **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="widgets/spinbox/lv_spinbox.h" line="212" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L212">
      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="widgets/spinbox/lv_spinbox.h" line="218" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L218">
      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="widgets/spinbox/lv_spinbox.h" line="224" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L224">
      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="widgets/spinbox/lv_spinbox.h" line="230" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L230">
      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="widgets/spinbox/lv_spinbox.h" line="241" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L241">
      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="widgets/spinbox/lv_spinbox.h" line="37" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L37">
  \_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="widgets/spinbox/lv_spinbox.h" line="28" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L28">
  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="widgets/spinbox/lv_spinbox.h" line="34" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/widgets/spinbox/lv_spinbox.h#L34">
  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;lv_spinbox_private.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.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_conf_kconfig.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_property_names.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_style_properties.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
