code: def moveTab(self, fromIndex, toIndex):
      widget = self.widget(fromIndex)
      icon = self.tabIcon(fromIndex)
      text = self.tabText(fromIndex)
  
      self.removeTab(fromIndex)
      self.insertTab(toIndex, widget, icon, text)
      self.setCurrentIndex(toIndex)
  
file_path: PandasGUI/pandasgui/widgets/detachable_tab_widget.py
imports: from PyQt5 import QtGui, QtCore, QtWidgets
  from PyQt5.QtCore import pyqtSignal, pyqtSlot
label_desc: Use image node_id 3 for calling the DetachableTabWidget obj's underlying member method code with example usage: obj.moveTab(fromIndex, toIndex) without return types