parameters: (self, enable=True)
docstring: Enables or disables a menu item.
  
          :param bool `enable`: ``True`` to enable the menu item, ``False`` to disable it.
docstring_summary: Enables or disables a menu item.
docstring_tokens: Enables or disables a menu item .
function: def Enable(self, enable=True):
          """
          Enables or disables a menu item.
  
          :param bool `enable`: ``True`` to enable the menu item, ``False`` to disable it.
          """
  
          self._bIsEnabled = enable
          if self._parentMenu:
              self._parentMenu.UpdateItem(self)
function_tokens: def Enable ( self , enable = True ) : self . _bIsEnabled = enable if self . _parentMenu : self . _parentMenu . UpdateItem ( self )