lv_checkbox.h

API reference for lv_checkbox.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_checkbox_private.h

Functions

lv_checkbox_set_text

Set the text of a check box. txt will be copied and may be deallocated after this function returns.

 
void lv_checkbox_set_text(lv_obj_t *obj, const char *txt)
Parameters
NameTypeDescription
objlv_obj_t *pointer to a check box
txtconst char *the text of the check box. NULL to refresh with the current text.

lv_checkbox_set_text_static

Set the text of a check box. txt must not be deallocated during the life of this checkbox.

 
void lv_checkbox_set_text_static(lv_obj_t *obj, const char *txt)
Parameters
NameTypeDescription
objlv_obj_t *pointer to a check box
txtconst char *the text of the check box.

Enums

_lv_property_checkbox_id_t

NameValue
LV_PROPERTY_CHECKBOX_TEXT(LV_PROPERTY_CHECKBOX_START + ((int) 0 )) | (( 7 ) << 28 )
LV_PROPERTY_CHECKBOX_END

Variables

lv_checkbox_class

 
const lv_obj_class_t lv_checkbox_class

Dependencies

How is this guide?

Last updated on

On this page