MCPcopy Index your code
hub / github.com/python/cpython / winfo_rootx

Method winfo_rootx

Lib/tkinter/__init__.py:1338–1342  ·  view source on GitHub ↗

Return x coordinate of upper left corner of this widget on the root window.

(self)

Source from the content-addressed store, hash-verified

1336 self.tk.call('winfo', 'rgb', self._w, color))
1337
1338 def winfo_rootx(self):
1339 """Return x coordinate of upper left corner of this widget on the
1340 root window."""
1341 return self.tk.getint(
1342 self.tk.call('winfo', 'rootx', self._w))
1343
1344 def winfo_rooty(self):
1345 """Return y coordinate of upper left corner of this widget on the

Callers 15

whereMethod · 0.80
_place_windowFunction · 0.80
winconfig_eventMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
initMethod · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45