Lines Matching refs:cbname
374 cbname = repr(id(f))
380 cbname = cbname + callback.__name__
383 self._tk.createcommand(cbname, f)
386 self._tclCommands.append(cbname)
387 return cbname
399 cbname = self._register(callback)
401 self._name, mode, (cbname,))
402 return cbname
404 def trace_remove(self, mode, cbname): argument
412 self._name, mode, cbname)
414 if self._tk.splitlist(ca)[0] == cbname:
417 self._tk.deletecommand(cbname)
419 self._tclCommands.remove(cbname)
442 cbname = self._register(callback)
443 self._tk.call("trace", "variable", self._name, mode, cbname)
444 return cbname
448 def trace_vdelete(self, mode, cbname): argument
458 self._tk.call("trace", "vdelete", self._name, mode, cbname)
459 cbname = self._tk.splitlist(cbname)[0]
461 if self._tk.splitlist(ca)[0] == cbname:
464 self._tk.deletecommand(cbname)
466 self._tclCommands.remove(cbname)