diff --git a/src/others/xml/lv_xml_update.h b/src/others/xml/lv_xml_update.h index 5417cd1bb2..10eac5da7c 100644 --- a/src/others/xml/lv_xml_update.h +++ b/src/others/xml/lv_xml_update.h @@ -25,8 +25,10 @@ extern "C" { **********************/ /** - * Load the styles, constants, another data of the component. It needs to be called only once for each component. - * @param xml_def the XML definition of the component as a NULL terminated string + * Change the properties of a given widget by processing XML snippets. + * For example `` + * Note that the tag should be the underlying widget's name and the component's name. + * @param xml_def the XML to process as a string * @return LV_RESULT_OK: loaded successfully, LV_RES_INVALID: otherwise */ lv_result_t lv_xml_update_from_data(const char * xml_def);