lv_win.h
Functions
-
lv_obj_t *lv_win_create(lv_obj_t *parent)
Create a window widget
- Parameters:
parent – pointer to a parent widget
- Returns:
the created window
-
lv_obj_t *lv_win_add_title(lv_obj_t *win, const char *txt)
Add a title to the window
- Parameters:
obj – pointer to a window widget
txt – the text of the title
- Returns:
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
- Parameters:
obj – pointer to a window widget
icon – an icon to be displayed on the button
btn_w – width of the button
- Returns:
the widget where the content of the button can be created
Variables
-
const lv_obj_class_t lv_win_class