parameters: (self, value)
docstring: Set True, 'Horizontal' or 'Vertical' to enable grid.
docstring_summary: Set True, 'Horizontal' or 'Vertical' to enable grid.
docstring_tokens: Set True Horizontal or Vertical to enable grid .
function: def SetEnableGrid(self, value):
          """Set True, 'Horizontal' or 'Vertical' to enable grid."""
          if value not in [True, False, 'Horizontal', 'Vertical']:
              raise TypeError(
                  "Value should be True, False, Horizontal or Vertical")
          self._gridEnabled = value
          self.Redraw()
function_tokens: def SetEnableGrid ( self , value ) : if value not in [ True , False , 'Horizontal' , 'Vertical' ] : raise TypeError ( "Value should be True, False, Horizontal or Vertical" ) self . _gridEnabled = value self . Redraw ( )