parameters: (self, colour=None)
docstring: Sets the second gradient colour for gradient-style selections.
  
          :param `colour`: if not ``None``, a valid :class:`Colour` instance. Otherwise,
           the colour generated is a slightly darker version of the :class:`CustomTreeCtrl`
           background colour.
docstring_summary: Sets the second gradient colour for gradient-style selections.
docstring_tokens: Sets the second gradient colour for gradient - style selections .
function: def SetSecondGradientColour(self, colour=None):
          """
          Sets the second gradient colour for gradient-style selections.
  
          :param `colour`: if not ``None``, a valid :class:`Colour` instance. Otherwise,
           the colour generated is a slightly darker version of the :class:`CustomTreeCtrl`
           background colour.
          """
  
          if colour is None:
              # No colour given, generate a slightly darker from the
              # CustomTreeCtrl background colour
              colour = self.GetBackgroundColour()
              r, g, b = int(colour.Red()), int(colour.Green()), int(colour.Blue())
              colour = ((r >> 1) + 20, (g >> 1) + 20, (b >> 1) + 20)
              colour = wx.Colour(colour[0], colour[1], colour[2])
  
          self._secondcolour = colour
  
          if self._usegradients:
              self.RefreshSelected()
function_tokens: def SetSecondGradientColour ( self , colour = None ) : if colour is None : # No colour given, generate a slightly darker from the # CustomTreeCtrl background colour colour = self . GetBackgroundColour ( ) r , g , b = int ( colour . Red ( ) ) , int ( colour . Green ( ) ) , int ( colour . Blue ( ) ) colour = ( ( r >> 1 ) + 20 , ( g >> 1 ) + 20 , ( b >> 1 ) + 20 ) colour = wx . Colour ( colour [ 0 ] , colour [ 1 ] , colour [ 2 ] ) self . _secondcolour = colour if self . _usegradients : self . RefreshSelected ( )