lv_layout.h

Typedefs

typedef void (*lv_layout_update_cb_t)(lv_obj_t*, void *user_data)

Enums

enum lv_layout_t

Values:

enumerator LV_LAYOUT_NONE
enumerator LV_LAYOUT_FLEX
enumerator LV_LAYOUT_GRID
enumerator LV_LAYOUT_LAST

Functions

uint32_t lv_layout_register(lv_layout_update_cb_t cb, void *user_data)

Register a new layout

Parameters:
  • cb – the layout update callback

  • user_data – custom data that will be passed to cb

Returns:

the ID of the new layout