Return information about existing event handlers. With no argument, return a tuple of the identifiers for all existing event handlers created by the after and after_idle commands for this interpreter. If id is supplied, it specifies an existing handler; id must have
(self, id=None)
| 917 | self.tk.call('after', 'cancel', id) |
| 918 | |
| 919 | def after_info(self, id=None): |
| 920 | """Return information about existing event handlers. |
| 921 | |
| 922 | With no argument, return a tuple of the identifiers for all existing |
| 923 | event handlers created by the after and after_idle commands for this |
| 924 | interpreter. If id is supplied, it specifies an existing handler; id |
| 925 | must have been the return value from some previous call to after or |
| 926 | after_idle and it must not have triggered yet or been canceled. If the |
| 927 | id doesn't exist, a TclError is raised. Otherwise, the return value is |
| 928 | a tuple containing (script, type) where script is a reference to the |
| 929 | function to be called by the event handler and type is either 'idle' |
| 930 | or 'timer' to indicate what kind of event handler it is. |
| 931 | """ |
| 932 | return self.tk.splitlist(self.tk.call('after', 'info', id)) |
| 933 | |
| 934 | def bell(self, displayof=0): |
| 935 | """Ring a display's bell.""" |