parameters: (self,event)
docstring: Handles the ``wx.EVT_TIMER`` event for :class:`PyGauge`.
  
          :param `event`: a :class:`TimerEvent` event to be processed.
docstring_summary: Handles the ``wx.EVT_TIMER`` event for :class:`PyGauge`.
docstring_tokens: Handles the wx . EVT_TIMER event for : class : PyGauge .
function: def OnTimer(self,event):
          """
          Handles the ``wx.EVT_TIMER`` event for :class:`PyGauge`.
  
          :param `event`: a :class:`TimerEvent` event to be processed.
          """
          
          if self._timerId == event.GetId():
              stop_timer = True
              for i, v in enumerate(self._value):
                  self._value[i] += self._update_step[i]
                  
                  if self._update_step[i] > 0:
                      if self._value[i] > self._update_value[i]:
                          self._value[i] = self._update_value[i]
                      else: stop_timer = False
                  else:
                      if self._value[i] < self._update_value[i]:
                          self._value[i] = self._update_value[i]
                      else: stop_timer = False
                      
              if stop_timer:
                  self._timer.Stop()
                      
              self.SortForDisplay()
                          
              self.Refresh()
function_tokens: def OnTimer ( self , event ) : if self . _timerId == event . GetId ( ) : stop_timer = True for i , v in enumerate ( self . _value ) : self . _value [ i ] += self . _update_step [ i ] if self . _update_step [ i ] > 0 : if self . _value [ i ] > self . _update_value [ i ] : self . _value [ i ] = self . _update_value [ i ] else : stop_timer = False else : if self . _value [ i ] < self . _update_value [ i ] : self . _value [ i ] = self . _update_value [ i ] else : stop_timer = False if stop_timer : self . _timer . Stop ( ) self . SortForDisplay ( ) self . Refresh ( )