Tabbar view name change

Is there a method to rename the tab in the view? After calling the data, you must change the number of the data to the tab name.

The only way is the config mutation:

tabbar.config.views[tab_index].tab = "new text"
tabbar.paint()

I solved it. Thank you for your help.