parameters: (self, id)
docstring: Cancel scheduling of function identified with ID.
  
          Identifier returned by after or after_idle must be
          given as first parameter.
docstring_summary: Cancel scheduling of function identified with ID.
docstring_tokens: Cancel scheduling of function identified with ID .
function: def after_cancel(self, id):
          """Cancel scheduling of function identified with ID.
  
          Identifier returned by after or after_idle must be
          given as first parameter.
          """
          if not id:
              raise ValueError('id must be a valid identifier returned from '
                               'after or after_idle')
          try:
              data = self.tk.call('after', 'info', id)
              script = self.tk.splitlist(data)[0]
              self.deletecommand(script)
          except TclError:
              pass
          self.tk.call('after', 'cancel', id)
function_tokens: def after_cancel ( self , id ) : if not id : raise ValueError ( 'id must be a valid identifier returned from ' 'after or after_idle' ) try : data = self . tk . call ( 'after' , 'info' , id ) script = self . tk . splitlist ( data ) [ 0 ] self . deletecommand ( script ) except TclError : pass self . tk . call ( 'after' , 'cancel' , id )