def METHOD_NAME(self, index):
    tabview = self.native.tabViewItemAtIndex(index)
    self.native.removeTabViewItem(tabview)
    sub_container = self.sub_containers[index]
    sub_container.content = None
    del self.sub_containers[index]