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

Method winfo_pixels

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1190–1193  ·  view source on GitHub ↗

Rounded integer value of winfo_fpixels.

(self, number)

Source from the content-addressed store, hash-verified

1188 return self.tk.call(args)
1189
1190 def winfo_pixels(self, number):
1191 """Rounded integer value of winfo_fpixels."""
1192 return self.tk.getint(
1193 self.tk.call('winfo', 'pixels', self._w, number))
1194
1195 def winfo_pointerx(self):
1196 """Return the x coordinate of the pointer on the root window."""

Calls 2

callMethod · 0.80
getintMethod · 0.45