addTab

fun addTab(tab: Tab)

Adds a Tab to the UI. If a Tab with the same Tab.id as tab is already present, it gets substituted.