Lines Matching refs:cbname
352 cbname = repr(id(f))
358 cbname = cbname + callback.__name__
361 self._tk.createcommand(cbname, f)
364 self._tclCommands.append(cbname)
365 return cbname
377 cbname = self._register(callback)
379 self._name, mode, (cbname,))
380 return cbname
382 def trace_remove(self, mode, cbname): argument
390 self._name, mode, cbname)
392 if self._tk.splitlist(ca)[0] == cbname:
395 self._tk.deletecommand(cbname)
397 self._tclCommands.remove(cbname)
420 cbname = self._register(callback)
421 self._tk.call("trace", "variable", self._name, mode, cbname)
422 return cbname
426 def trace_vdelete(self, mode, cbname): argument
436 self._tk.call("trace", "vdelete", self._name, mode, cbname)
437 cbname = self._tk.splitlist(cbname)[0]
439 if self._tk.splitlist(ca)[0] == cbname:
442 self._tk.deletecommand(cbname)
444 self._tclCommands.remove(cbname)