def dockable_tab_activated ( self, dock_control, activated ):
        for i, value in enumerate( self.editor._uis ):
            if dock_control is value[0] and activated:
                self.editor.selected = value[1]
                break

### EOF #######################################################################
Handles a notebook tab being activated or deactivated.
dataset/ETHPy150Open enthought/traitsui/traitsui/wx/list_editor.py/DockableListElement.dockable_tab_activated