class_docstr: This class draws a rectangular area. Right-clicking inside the area will
  raise a custom context menu which also includes the context menus of
  its parents.    
class_docstr_tok: ["This","class","draws","a","rectangular","area",".","Right-clicking","inside","the","area","will","raise","a","custom","context","menu","which","also","includes","the","context","menus","of","its","parents","."]
code: def raiseContextMenu(self, ev):
      menu = self.getContextMenus()
  
      # Let the scene add on to the end of our context menu
      # (this is optional)
      menu = self.scene().addParentContextMenus(self, menu, ev)
  
      pos = ev.screenPos()
      menu.popup(QtCore.QPoint(int(pos.x()), int(pos.y())))
      return True
  
file_path: pyqtgraph/pyqtgraph/examples/contextMenu.py
imports: import pyqtgraph
  from pyqtgraph.Qt import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 5 for calling the MenuBox obj's underlying member method code with example usage: obj.raiseContextMenu(ev) and returns: True