Home
last modified time | relevance | path

Searched refs:cbname (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/tkinter/
D__init__.py352 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)
[all …]
/external/python/cpython2/Lib/lib-tk/
DTkinter.py285 cbname = repr(id(f))
291 cbname = cbname + callback.__name__
294 self._tk.createcommand(cbname, f)
297 self._tclCommands.append(cbname)
298 self._tk.call("trace", "variable", self._name, mode, cbname)
299 return cbname
301 def trace_vdelete(self, mode, cbname): argument
307 self._tk.call("trace", "vdelete", self._name, mode, cbname)
308 cbname = self._tk.splitlist(cbname)[0]
310 if self._tk.splitlist(ca)[0] == cbname:
[all …]