lv_checkbox.h
Functions
-
lv_obj_t *lv_checkbox_create(lv_obj_t *parent)
Create a check box object
- Parameters:
parent -- pointer to an object, it will be the parent of the new button
- Returns:
pointer to the created check box
-
void lv_checkbox_set_text(lv_obj_t *obj, const char *txt)
Set the text of a check box.
txt
will be copied and may be deallocated after this function returns.- Parameters:
obj -- pointer to a check box
txt -- the text of the check box. NULL to refresh with the current text.
Variables
-
const lv_obj_class_t lv_checkbox_class
-
struct lv_checkbox_t