parameters: (self, Mode)
docstring: Set the GUImode to any of the available mode.
docstring_summary: Set the GUImode to any of the available mode.
docstring_tokens: Set the GUImode to any of the available mode .
function: def SetMode(self, Mode):
              '''
              Set the GUImode to any of the available mode.
              '''
              # Set mode
              if self.GUIMode is not None:
                  self.GUIMode.UnSet() # this lets the old mode clean up.
              Mode.Canvas = self # make sure the mode is linked to this canvas
              self.GUIMode = Mode
              self.SetCursor(self.GUIMode.Cursor)
function_tokens: def SetMode ( self , Mode ) : # Set mode if self . GUIMode is not None : self . GUIMode . UnSet ( ) # this lets the old mode clean up. Mode . Canvas = self # make sure the mode is linked to this canvas self . GUIMode = Mode self . SetCursor ( self . GUIMode . Cursor )