code: def mouseReleaseEvent(self, event):
      if event.button() == Qt.RightButton:
          pos = event.pos()
          item = self.itemAt(pos)
          ix = self.indexAt(pos)
          if item:
              menu = QtWidgets.QMenu(self)
  
              action1 = QtWidgets.QAction("Delete DataFrame")
              action1.triggered.connect(
                  lambda: self.store.remove_dataframe(ix.row())
              )
  
              for action in [action1]:
                  menu.addAction(action)
  
              menu.exec_(QtGui.QCursor().pos())
  
      super().mouseReleaseEvent(event)
  
imports: from PyQt5 import QtCore, QtGui, QtWidgets, sip
  from PyQt5.QtCore import Qt
  from pandasgui.store import PandasGuiDataFrameStore, PandasGuiStore
  from pandasgui.widgets import base_widgets
  import tempfile
  import os
  from pandasgui.utility import traverse_tree_widget
  from pandasgui.widgets.column_viewer import FlatDraggableTree
  from pandasgui.widgets.json_viewer import JsonViewer
label_desc: Use image node_id 2 for calling the Navigator obj's underlying member method code with example usage: obj.mouseReleaseEvent(event) without return types