parameters: (self, colour=None)
docstring: Sets the button colour, for all button states.
  
          :param `colour`: an instance of :class:`Colour`.
          
          :note: The original button images are greyscale with a lot of pixels with
           different colours. Changing smoothly the button colour in order to
           give the same 3D effect can be efficiently done only with PIL.
docstring_summary: Sets the button colour, for all button states.
docstring_tokens: Sets the button colour for all button states .
function: def SetButtonColour(self, colour=None):
          """
          Sets the button colour, for all button states.
  
          :param `colour`: an instance of :class:`Colour`.
          
          :note: The original button images are greyscale with a lot of pixels with
           different colours. Changing smoothly the button colour in order to
           give the same 3D effect can be efficiently done only with PIL.
          """
  
          if colour is None:
              colour = wx.WHITE
  
          palette = colour.Red(), colour.Green(), colour.Blue()
  
          self._buttoncolour = colour
  
          self._mainbuttondown = DownButton.GetImage()
          self._mainbuttonup = UpButton.GetImage()
function_tokens: def SetButtonColour ( self , colour = None ) : if colour is None : colour = wx . WHITE palette = colour . Red ( ) , colour . Green ( ) , colour . Blue ( ) self . _buttoncolour = colour self . _mainbuttondown = DownButton . GetImage ( ) self . _mainbuttonup = UpButton . GetImage ( )