lv_calendar_header_dropdown.h

API reference for lv_calendar_header_dropdown.h

Report on GitHub

Functions

lv_calendar_header_dropdown_set_year_list

Sets a custom calendar year list

 
void lv_calendar_header_dropdown_set_year_list(lv_obj_t *parent, const char *years_list)
Parameters
NameTypeDescription
parentlv_obj_t *pointer to a calendar object
years_listconst char *pointer to an const char array with the years list, see lv_dropdown set_options for more information. E.g. `const char * years = "2023\n2022\n2021\n2020\n2019" Only the pointer will be saved so this variable can't be local which will be destroyed later.

Variables

lv_calendar_header_dropdown_class

 
const lv_obj_class_t lv_calendar_header_dropdown_class

Dependencies

How is this guide?

Last updated on

On this page