feat(tabview) add API to rename tab.
https://github.com/lvgl/lvgl/issues/3407#issue-1265916615
This commit is contained in:
@@ -28,6 +28,10 @@ There are no special parts on the Tab view but the `lv_obj` and `lv_btnnmatrix`
|
||||
|
||||
New tabs can be added with `lv_tabview_add_tab(tabview, "Tab name")`. This will return a pointer to an [lv_obj](/widgets/obj) object where the tab's content can be created.
|
||||
|
||||
### Rename tabs
|
||||
|
||||
A tab can be renamed with `lv_tabview_rename_tab( tabview, tab_id, "New Name" )`.
|
||||
|
||||
### Change tab
|
||||
|
||||
To select a new tab you can:
|
||||
|
||||
Reference in New Issue
Block a user