mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
docs(checkbox) update the comment lv_checkbox_set_text_static
NULL shouldn't be passed as text Related to #2551
This commit is contained in:
parent
3df2a74447
commit
3e0ddd0285
@ -69,7 +69,7 @@ void lv_checkbox_set_text(lv_obj_t * obj, const char * txt);
|
|||||||
* Set the text of a check box. `txt` must not be deallocated during the life
|
* Set the text of a check box. `txt` must not be deallocated during the life
|
||||||
* of this checkbox.
|
* of this checkbox.
|
||||||
* @param cb pointer to a check box
|
* @param cb pointer to a check box
|
||||||
* @param txt the text of the check box. NULL to refresh with the current text.
|
* @param txt the text of the check box.
|
||||||
*/
|
*/
|
||||||
void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt);
|
void lv_checkbox_set_text_static(lv_obj_t * obj, const char * txt);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user