(self, method, dt=None)
Connect a callback method to the Animate event.
        
        Arguments:
        
          * method: the callback method,
          * dt: the time step in seconds.
Connect a callback method to the Animate event.
        
        Arguments:
        
          * method: the callback method,
          * dt: the time step in seconds.
Connect a callback method to the Animate event . Arguments : * method : the callback method * dt : the time step in seconds .
def animate(self, method, dt=None):
        """Connect a callback method to the Animate event.
        
        Arguments:
        
          * method: the callback method,
          * dt: the time step in seconds.
        
        """
        if dt is None:
            dt = .02
        self.animation_interval = dt
        self.event('Animate', method)
def animate ( self , method , dt = None ) : if dt is None : dt = .02 self . animation_interval = dt self . event ( 'Animate' , method )