lv_list.h

API reference for lv_list.h

Report on GitHub

Functions

lv_list_set_button_text

Set text of a given list button

> Deprecated: The lv_list widget is deprecated. See lv_example_flex_list.

 
void lv_list_set_button_text(lv_obj_t *list, lv_obj_t *btn, const char *txt)
Parameters
NameTypeDescription
listlv_obj_t *pointer to a list
btnlv_obj_t *pointer to the button
txtconst char *pointer to the text

lv_list_set_button_translation_tag

Set translation tag text of a given list button

> Deprecated: The lv_list widget is deprecated. See lv_example_flex_list.

 
void lv_list_set_button_translation_tag(lv_obj_t *list, lv_obj_t *btn, const char *tag)
Parameters
NameTypeDescription
listlv_obj_t *pointer to a list
btnlv_obj_t *pointer to the button
tagconst char *pointer to the translation tag

Macros

LV_LIST_DEPRECATED_MSG

 
#define LV_LIST_DEPRECATED_MSG "lv_list is deprecated; build a list from a flex column instead. See the lv_example_flex_list example."

> Deprecated: The lv_list widget is deprecated and kept only for backward compatibility. A list is just a flex container with a column flow, so build one directly from lv_obj + a LV_FLEX_FLOW_COLUMN layout instead. See the lv_example_flex_list example for a starting point.

Variables

lv_list_class

 
const lv_obj_class_t lv_list_class

lv_list_text_class

 
const lv_obj_class_t lv_list_text_class

lv_list_button_class

 
const lv_obj_class_t lv_list_button_class

Dependencies

Last updated on

On this page