class_docstr: A Manager for tabs of the table panel.
  
  Attributes
  ----------
  
  tab_ui : TabUI
      Underlying FURY TabUI object.
class_docstr_tok: ["A","Manager","for","tabs","of","the","table","panel",".","Attributes","--","--","--","--","--","tab_ui",":","TabUI","Underlying","FURY","TabUI","object","."]
code: def _tab_selected(self, tab_ui):
      if self._active_tab_id == tab_ui.active_tab_idx:
          self._active_tab_id = -1
          return
  
      self._active_tab_id = tab_ui.active_tab_idx
  
      current_tab = self._tabs[self._active_tab_id]
      if current_tab.__class__.__name__ == "SlicesTab":
          self.tab_changed(current_tab.actors)
          current_tab.on_tab_selected()
  
imports: from typing import Any
  from dataclasses import dataclass
  import warnings
  from abc import ABC, abstractmethod
  import numpy
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 3 for calling the TabManager obj's underlying member method code with example usage: obj._tab_selected(tab_ui) without return types