What is it? lv_button_create() or lv_btn_create()

Hi,
I’m a bit confused:
The include file lv_button.h has the function prototyle lv_obj_t * lv_button_create(lv_obj_t * parent);, the include file lv_api_map_v8.h has this: #define lv_btn_create lv_button_create.
So I assume that in V9, the function to create a new button object is lv_button_create().
Yet the documentation in LVGL_Library.pdf claims it is

In v8, the function was lv_btn_create() and has been changed to lv_button_create().
The API map is to enable backward compatibility, meaning you can still use lv_btn_create() in v9

1 Like