parameters: (self, value)
docstring: Set True, 'Bottomleft-Topright' or 'Bottomright-Topleft' to enable
          center line(s).
docstring_summary: Set True, 'Bottomleft-Topright' or 'Bottomright-Topleft' to enable
          center line(s).
docstring_tokens: Set True Bottomleft - Topright or Bottomright - Topleft to enable center line ( s ) .
function: def SetEnableDiagonals(self, value):
          """Set True, 'Bottomleft-Topright' or 'Bottomright-Topleft' to enable
          center line(s)."""
          if value not in [True, False, 'Bottomleft-Topright', 'Bottomright-Topleft']:
              raise TypeError(
                  "Value should be True, False, Bottomleft-Topright or Bottomright-Topleft")
          self._diagonalsEnabled = value
          self.Redraw()
function_tokens: def SetEnableDiagonals ( self , value ) : if value not in [ True , False , 'Bottomleft-Topright' , 'Bottomright-Topleft' ] : raise TypeError ( "Value should be True, False, Bottomleft-Topright or Bottomright-Topleft" ) self . _diagonalsEnabled = value self . Redraw ( )