Searched refs:_tk (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/tkinter/ |
D | font.py | 95 self._tk = tk 120 return Font(self._tk, **self.actual()) 154 return self._tk.getint(self._call("font", "measure", self.name, *args)) 167 return self._tk.getint( 173 options[res[i][1:]] = self._tk.getint(res[i+1])
|
D | __init__.py | 297 _tk = None variable in Variable 318 self._tk = master.tk 326 elif not self._tk.getboolean(self._tk.call("info", "exists", self._name)): 330 if self._tk is None: 332 if self._tk.getboolean(self._tk.call("info", "exists", self._name)): 333 self._tk.globalunsetvar(self._name) 337 self._tk.deletecommand(name) 344 return self._tk.globalsetvar(self._name, value) 348 return self._tk.globalgetvar(self._name) 361 self._tk.createcommand(cbname, f) [all …]
|
/external/python/cpython2/Lib/lib-tk/ |
D | Tkinter.py | 245 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 …]
|
D | tkFont.py | 93 self._tk = tk 120 return Font(self._tk, **self.actual())
|