lv_tileview.h

API reference for lv_tileview.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_tileview_private.h

Functions

lv_tileview_set_tile

Set the active tile in the tileview.

 
void lv_tileview_set_tile(lv_obj_t *tv, lv_obj_t *tile_obj, lv_anim_enable_t anim_en)
Parameters
NameTypeDescription
tvlv_obj_t *
tile_objlv_obj_t *pointer to the tile object to be set as active
anim_enlv_anim_enable_tanimation enable flag (LV_ANIM_ON or LV_ANIM_OFF)

lv_tileview_set_tile_by_index

Set the active tile by index in the tileview

 
void lv_tileview_set_tile_by_index(lv_obj_t *tv, uint32_t col_id, uint32_t row_id, lv_anim_enable_t anim_en)
Parameters
NameTypeDescription
tvlv_obj_t *pointer to the tileview object
col_iduint32_tcolumn id of the tile to be set as active
row_iduint32_trow id of the tile to be set as active
anim_enlv_anim_enable_tanimation enable flag (LV_ANIM_ON or LV_ANIM_OFF)

Variables

lv_tileview_class

 
const lv_obj_class_t lv_tileview_class

lv_tileview_tile_class

 
const lv_obj_class_t lv_tileview_tile_class

Dependencies

How is this guide?

Last updated on

On this page