Return the pathname of the widget given by ID.
(self, id, displayof=0)
| 1293 | return self.tk.call('winfo', 'parent', self._w) |
| 1294 | |
| 1295 | def winfo_pathname(self, id, displayof=0): |
| 1296 | """Return the pathname of the widget given by ID.""" |
| 1297 | if isinstance(id, int): |
| 1298 | id = hex(id) |
| 1299 | args = ('winfo', 'pathname') \ |
| 1300 | + self._displayof(displayof) + (id,) |
| 1301 | return self.tk.call(args) |
| 1302 | |
| 1303 | def winfo_pixels(self, number): |
| 1304 | """Rounded integer value of winfo_fpixels.""" |