lv_win.h
Functions
-
lv_obj_t *lv_win_create(lv_obj_t *parent)
Create a window widget
- 参数:
parent -- pointer to a parent widget
- 返回:
the created window
-
lv_obj_t *lv_win_add_title(lv_obj_t *win, const char *txt)
Add a title to the window
- 参数:
obj -- pointer to a window widget
txt -- the text of the title
- 返回:
the widget where the content of the title can be created
-
lv_obj_t *lv_win_add_button(lv_obj_t *win, const void *icon, int32_t btn_w)
Add a button to the window
- 参数:
obj -- pointer to a window widget
icon -- an icon to be displayed on the button
btn_w -- width of the button
- 返回:
the widget where the content of the button can be created
Variables
-
const lv_obj_class_t lv_win_class