update the TabWidget for the new TabBar api
add a TabWidget example