MCPcopy Index your code
hub / github.com/RustPython/RustPython / winfo_pathname

Method winfo_pathname

Lib/tkinter/__init__.py:1277–1283  ·  view source on GitHub ↗

Return the pathname of the widget given by ID.

(self, id, displayof=0)

Source from the content-addressed store, hash-verified

1275 return self.tk.call('winfo', 'parent', self._w)
1276
1277 def winfo_pathname(self, id, displayof=0):
1278 """Return the pathname of the widget given by ID."""
1279 if isinstance(id, int):
1280 id = hex(id)
1281 args = ('winfo', 'pathname') \
1282 + self._displayof(displayof) + (id,)
1283 return self.tk.call(args)
1284
1285 def winfo_pixels(self, number):
1286 """Rounded integer value of winfo_fpixels."""

Callers

nothing calls this directly

Calls 4

_displayofMethod · 0.95
isinstanceFunction · 0.85
hexFunction · 0.85
callMethod · 0.45

Tested by

no test coverage detected