(self, id)
Cancel scheduling of function identified with ID.

        Identifier returned by after or after_idle must be
        given as first parameter.
Cancel scheduling of function identified with ID.
Cancel scheduling of function identified with ID .
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)
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 )