'Enable or disable the context menu for this PlotItem.
By default, the ViewBox\'s context menu will also be affected.
(use enableViewBoxMenu=None to leave the ViewBox unchanged)'

def setMenuEnabled(self, enableMenu=True, enableViewBoxMenu='same'):

    self._menuEnabled = enableMenu
    if (enableViewBoxMenu is None):
        return
    if (enableViewBoxMenu is 'same'):
        enableViewBoxMenu = enableMenu
    self.vb.setMenuEnabled(enableViewBoxMenu)
