MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / winfo_rootx

Method winfo_rootx

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1225–1229  ·  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

1223 self.tk.call('winfo', 'rgb', self._w, color))
1224
1225 def winfo_rootx(self):
1226 """Return x coordinate of upper left corner of this widget on the
1227 root window."""
1228 return self.tk.getint(
1229 self.tk.call('winfo', 'rootx', self._w))
1230
1231 def winfo_rooty(self):
1232 """Return y coordinate of upper left corner of this widget on the

Callers 10

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

Calls 2

callMethod · 0.80
getintMethod · 0.45

Tested by

no test coverage detected