# lv_layout_private.h (/api/layouts/lv_layout_private_h)



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

<ApiSummary functions="4" structs="1" />

Functions [#functions]

<ApiTabs items="[&#x22;Getters (1)&#x22;,&#x22;Other (3)&#x22;]">
  <ApiTab value="Getters (1)">
    <ApiMember kind="function" name="lv_layout_get_min_size" file="layouts/lv_layout_private.h" line="44" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/layouts/lv_layout_private.h#L44">
      lv_layout_get_min_size [#lv_layout_get_min_size]

      ```c title=" " lineNumbers=1
      bool lv_layout_get_min_size(lv_obj_t *obj, int32_t *size, bool width)
      ```

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

      | Name    | Type                                             |
      | ------- | ------------------------------------------------ |
      | `obj`   | <ApiLink name="lv_obj_t" display="lv_obj_t *" /> |
      | `size`  | <ApiLink name="int32_t" display="int32_t *" />   |
      | `width` | <ApiLink name="bool" />                          |
    </ApiMember>
  </ApiTab>

  <ApiTab value="Other (3)">
    <ApiMember kind="function" name="lv_layout_init" file="layouts/lv_layout_private.h" line="40" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/layouts/lv_layout_private.h#L40">
      lv_layout_init [#lv_layout_init]

      ```c title=" " lineNumbers=1
      void lv_layout_init(void)
      ```
    </ApiMember>

    <ApiMember kind="function" name="lv_layout_deinit" file="layouts/lv_layout_private.h" line="42" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/layouts/lv_layout_private.h#L42">
      lv_layout_deinit [#lv_layout_deinit]

      ```c title=" " lineNumbers=1
      void lv_layout_deinit(void)
      ```
    </ApiMember>

    <ApiMember kind="function" name="lv_layout_apply" file="layouts/lv_layout_private.h" line="50" url="https://github.com/lvgl/lvgl/tree/a7b95c5b0839ce901c09c205610bc2c77cc3345d/src/layouts/lv_layout_private.h#L50">
      lv_layout_apply [#lv_layout_apply]

      Update the layout of a widget

      ```c title=" " lineNumbers=1
      void lv_layout_apply(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 a widget |
    </ApiMember>
  </ApiTab>
</ApiTabs>

Structs [#structs]

<ApiMember kind="struct" name="lv_layout_dsc_t">
  lv_layout_dsc_t [#lv_layout_dsc_t]

  | Member      | Type                                     | Description |
  | ----------- | ---------------------------------------- | ----------- |
  | `callbacks` | <ApiLink name="lv_layout_callbacks_t" /> |             |
  | `user_data` | `void *`                                 |             |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_layout.h&#x22;]" includedBy="[&#x22;lv_global.h&#x22;]" transitiveIncludes="[&#x22;lv_area.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_types.h&#x22;]" />
