lv_buttonmatrix_set_map() function
Set a new map. Buttons will be created/deleted according to the map. The button matrix keeps a reference to the map and so the string array must not be deallocated during the life of the matrix.
Syntax
void lv_buttonmatrix_set_map(lv_obj_t * obj,
const char * const map[]);
Arguments
obj
pointer to a button matrix object
map
pointer a string array. The last string has to be: "". Use "\n" to make a line break.
![]()
void lv_buttonmatrix_set_map(lv_obj_t * obj, const char * const map[])![]()
void lv_buttonmatrix_set_map(lv_obj_t * obj, const char * const map[]);![]()
lv_buttonmatrix_set_map(obj, btnm->map_p);![]()
lv_buttonmatrix_set_map(obj, btnm->map_p);![]()
lv_buttonmatrix_set_map(obj, btnm->map_p);![]()
lv_buttonmatrix_set_map(obj, btnm->map_p);![]()
lv_buttonmatrix_set_map(calendar->btnm, calendar->map);![]()
lv_buttonmatrix_set_map(btnm1, btnm_map);![]()
lv_buttonmatrix_set_map(btnm, map);![]()
lv_buttonmatrix_set_map(btnm, btnm_map);
lv_buttonmatrix_set_map() is called by 10 functions and calls 13 functions:
![]()
lv_buttonmatrix_set_map()
lv_buttonmatrix_set_map() reads 5 variables and writes 1 variable:
![]()
lv_buttonmatrix_set_map()