parameters: (self, event)
docstring: Handles the ``wx.EVT_SET_FOCUS`` event for :class:`AquaButton`.
  
          :param `event`: a :class:`FocusEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_SET_FOCUS`` event for :class:`AquaButton`.
docstring_tokens: Handles the wx . EVT_SET_FOCUS event for : class : AquaButton .
function: def OnGainFocus(self, event):
          """
          Handles the ``wx.EVT_SET_FOCUS`` event for :class:`AquaButton`.
  
          :param `event`: a :class:`FocusEvent` event to be processed.
          """
  
          self._hasFocus = True
          self.Refresh()
          self.Update()
  
          if self._pulseOnFocus:
              self._gammaFactor = 1.0
              self._timer.Start(100)
function_tokens: def OnGainFocus ( self , event ) : self . _hasFocus = True self . Refresh ( ) self . Update ( ) if self . _pulseOnFocus : self . _gammaFactor = 1.0 self . _timer . Start ( 100 )