# lv_spinbox_private.h (/api/private/widgets/spinbox/lv_spinbox_private_h)



<RelatedHeaders name="lv_spinbox.h" isPrivate="true" />

<ApiSummary structs="1" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_spinbox_t">
  \_lv_spinbox_t [#_lv_spinbox_t]

  Data of spinbox

  | Member           | Type                             | Description                                                            |
  | ---------------- | -------------------------------- | ---------------------------------------------------------------------- |
  | `ta`             | <ApiLink name="lv_textarea_t" /> | Ext. of ancestor                                                       |
  | `value`          | `int32_t`                        |                                                                        |
  | `range_max`      | `int32_t`                        |                                                                        |
  | `range_min`      | `int32_t`                        |                                                                        |
  | `step`           | `int32_t`                        |                                                                        |
  | `digit_count`    | `uint32_t`                       |                                                                        |
  | `dec_point_pos`  | `uint32_t`                       | if 0, there is no separator and the number is an integer               |
  | `rollover`       | `uint32_t`                       | Set to true for rollover functionality                                 |
  | `digit_step_dir` | `uint32_t`                       | the direction the digit will step on encoder button press when editing |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj_private.h&#x22;, &#x22;lvgl_public.h&#x22;, &#x22;lv_textarea_private.h&#x22;]" includedBy="[&#x22;lvgl_private.h&#x22;]" transitiveIncludes="[&#x22;lv_array.h&#x22;, &#x22;lv_event_private.h&#x22;]" />
