diff --git a/docs/src/details/auxiliary-modules/xml/api.rst b/docs/src/details/auxiliary-modules/xml/api.rst index d0333ad817..527c4b4d51 100644 --- a/docs/src/details/auxiliary-modules/xml/api.rst +++ b/docs/src/details/auxiliary-modules/xml/api.rst @@ -289,14 +289,15 @@ Generates: void my_widget_set_item_icon(lv_obj_t * parent, int32_t index, const void * icon_src); void my_widget_set_item_color(lv_obj_t * parent, int32_t index, lv_color_t color); -access="bind" +access="custom" ~~~~~~~~~~~~~ -Used to bind subjects to widget logic. +Used to describe any custom API functions with a custom name. +"custom" elements can have only arguments and no `type` so they are pure setters. .. code-block:: xml - + diff --git a/docs/src/details/auxiliary-modules/xml/screens.rst b/docs/src/details/auxiliary-modules/xml/screens.rst index 311d8aa04d..4c2b4b5fd7 100644 --- a/docs/src/details/auxiliary-modules/xml/screens.rst +++ b/docs/src/details/auxiliary-modules/xml/screens.rst @@ -20,6 +20,8 @@ Screens work very similarly to Components. Both can be: However, Screens **cannot** have an ````. +It's also possible to define ```` which +will make the screen created automatically. Usage diff --git a/xmls/lv_obj.xml b/xmls/lv_obj.xml index aae8448cef..cac48ed498 100644 --- a/xmls/lv_obj.xml +++ b/xmls/lv_obj.xml @@ -89,73 +89,73 @@ Example - + - + - + - + - + - + - + - + - + - + - + - +