# lv_switch_private.h (/api/private/widgets/switch/lv_switch_private_h)



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

<ApiSummary structs="1" />

Structs [#structs]

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

  | Member        | Type                                       | Description           |
  | ------------- | ------------------------------------------ | --------------------- |
  | `obj`         | <ApiLink name="lv_obj_t" />                |                       |
  | `anim_state`  | `int32_t`                                  |                       |
  | `orientation` | <ApiLink name="lv_switch_orientation_t" /> | Orientation of switch |
</ApiMember>

Dependencies [#dependencies]

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