parameters: (self, colour)
docstring: Performs necessary updates for when the colour selection has
          changed.
docstring_summary: Performs necessary updates for when the colour selection has
          changed.
docstring_tokens: Performs necessary updates for when the colour selection has changed .
function: def UpdateColour(self, colour):
          """Performs necessary updates for when the colour selection has
          changed."""
          # Reset the palette to erase any highlighting
          self.palette.ReDraw()
  
          # Set the color info
          self.solid.SetColour(colour)
          self.colour_slider.SetBaseColour(colour)
          self.colour_slider.ReDraw()
          self.slider.SetValue(0)
          self.UpdateEntries(colour)
function_tokens: def UpdateColour ( self , colour ) : # Reset the palette to erase any highlighting self . palette . ReDraw ( ) # Set the color info self . solid . SetColour ( colour ) self . colour_slider . SetBaseColour ( colour ) self . colour_slider . ReDraw ( ) self . slider . SetValue ( 0 ) self . UpdateEntries ( colour )