parameters: (self, color)
docstring: Set the color used for highlighting the pressed state
  
          :param Colour `color`: :class:`Colour`
          
          ..note::
              also resets all text colours as necessary
docstring_summary: Set the color used for highlighting the pressed state
docstring_tokens: Set the color used for highlighting the pressed state
function: def SetPressColor(self, color):
          """Set the color used for highlighting the pressed state
  
          :param Colour `color`: :class:`Colour`
          
          ..note::
              also resets all text colours as necessary
  
          """
          self._color['default'] = False
          if color.Alpha() == 255:
              self._color['hlight'] = AdjustAlpha(color, 200)
          else:
              self._color['hlight'] = color
          self._color['press'] = AdjustColour(color, -10, 160)
          self._color['htxt'] = BestLabelColour(self._color['hlight'])
          self.Refresh()
function_tokens: def SetPressColor ( self , color ) : self . _color [ 'default' ] = False if color . Alpha ( ) == 255 : self . _color [ 'hlight' ] = AdjustAlpha ( color , 200 ) else : self . _color [ 'hlight' ] = color self . _color [ 'press' ] = AdjustColour ( color , - 10 , 160 ) self . _color [ 'htxt' ] = BestLabelColour ( self . _color [ 'hlight' ] ) self . Refresh ( )