parameters: (self, event)
docstring: Handles the ``wx.EVT_KILL_FOCUS`` event for :class:`GradientButton`.
  
          :param `event`: a :class:`FocusEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_KILL_FOCUS`` event for :class:`GradientButton`.
docstring_tokens: Handles the wx . EVT_KILL_FOCUS event for : class : GradientButton .
function: def OnLoseFocus(self, event):
          """
          Handles the ``wx.EVT_KILL_FOCUS`` event for :class:`GradientButton`.
  
          :param `event`: a :class:`FocusEvent` event to be processed.
          """
  
          self._hasFocus = False
          self.Refresh()
          self.Update()
function_tokens: def OnLoseFocus ( self , event ) : self . _hasFocus = False self . Refresh ( ) self . Update ( )