parameters: (self, m_x, m_y)
docstring: Updates the colour values based on the mouse location
          over the palette.
docstring_summary: Updates the colour values based on the mouse location
          over the palette.
docstring_tokens: Updates the colour values based on the mouse location over the palette .
function: def doPaletteClick(self, m_x, m_y):
          """Updates the colour values based on the mouse location
          over the palette."""
          # Get the colour value and update
          colour = self.palette.GetValue(m_x, m_y)
          self.UpdateColour(colour)
  
          # Highlight a fresh selected area
          self.palette.ReDraw()
          self.palette.HighlightPoint(m_x, m_y)
  
          # Force an onscreen update
          self.solid.Update()
          self.colour_slider.Refresh()
function_tokens: def doPaletteClick ( self , m_x , m_y ) : # Get the colour value and update colour = self . palette . GetValue ( m_x , m_y ) self . UpdateColour ( colour ) # Highlight a fresh selected area self . palette . ReDraw ( ) self . palette . HighlightPoint ( m_x , m_y ) # Force an onscreen update self . solid . Update ( ) self . colour_slider . Refresh ( )