lv_msgbox.h
Functions
-
lv_obj_t *lv_msgbox_create(lv_obj_t *parent, const char *title, const char *txt, const char *btn_txts[], bool add_close_btn)
Create a message box object
- Parameters:
parent -- pointer to parent or NULL to create a full screen modal message box
title -- the title of the message box
txt -- the text of the message box
btn_txts -- the buttons as an array of texts terminated by an "" element. E.g. {"btn1", "btn2", ""}
add_close_btn -- true: add a close button
- Returns:
pointer to the message box object
Variables
-
const lv_obj_class_t lv_msgbox_class
-
const lv_obj_class_t lv_msgbox_content_class
-
const lv_obj_class_t lv_msgbox_backdrop_class
-
struct lv_msgbox_t