Home
last modified time | relevance | path

Searched refs:_tk (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/tkinter/
Dfont.py96 self._tk = tk
110 return self.name == other.name and self._tk == other._tk
127 return Font(self._tk, **self.actual())
161 return self._tk.getint(self._call("font", "measure", self.name, *args))
174 return self._tk.getint(
180 options[res[i][1:]] = self._tk.getint(res[i+1])
D__init__.py351 _tk = None variable in Variable
373 self._tk = master.tk
381 elif not self._tk.getboolean(self._tk.call("info", "exists", self._name)):
386 if self._tk is None:
388 if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
389 self._tk.globalunsetvar(self._name)
393 self._tk.deletecommand(name)
402 return self._tk.globalsetvar(self._name, value)
408 return self._tk.globalgetvar(self._name)
421 self._tk.createcommand(cbname, f)
[all …]
/external/python/cpython2/Lib/lib-tk/
DTkinter.py245 self._tk = master.tk
253 elif not self._tk.getboolean(self._tk.call("info", "exists", self._name)):
257 if self._tk is None:
259 if self._tk.getboolean(self._tk.call("info", "exists", self._name)):
260 self._tk.globalunsetvar(self._name)
264 self._tk.deletecommand(name)
271 return self._tk.globalsetvar(self._name, value)
274 return self._tk.globalgetvar(self._name)
294 self._tk.createcommand(cbname, f)
298 self._tk.call("trace", "variable", self._name, mode, cbname)
[all …]
DtkFont.py93 self._tk = tk
120 return Font(self._tk, **self.actual())