Lines Matching refs:cbname
412 cbname = repr(id(f))
418 cbname = cbname + callback.__name__
421 self._tk.createcommand(cbname, f)
424 self._tclCommands.append(cbname)
425 return cbname
437 cbname = self._register(callback)
439 self._name, mode, (cbname,))
440 return cbname
442 def trace_remove(self, mode, cbname): argument
450 self._name, mode, cbname)
452 if self._tk.splitlist(ca)[0] == cbname:
455 self._tk.deletecommand(cbname)
457 self._tclCommands.remove(cbname)
480 cbname = self._register(callback)
481 self._tk.call("trace", "variable", self._name, mode, cbname)
482 return cbname
486 def trace_vdelete(self, mode, cbname): argument
496 self._tk.call("trace", "vdelete", self._name, mode, cbname)
497 cbname = self._tk.splitlist(cbname)[0]
499 if self._tk.splitlist(ca)[0] == cbname:
502 self._tk.deletecommand(cbname)
504 self._tclCommands.remove(cbname)