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

Method winfo_fpixels

Lib/tkinter/__init__.py:1236–1240  ·  view source on GitHub ↗

Return the number of pixels for the given distance NUMBER (e.g. "3c") as float.

(self, number)

Source from the content-addressed store, hash-verified

1234 self.tk.call('winfo', 'exists', self._w))
1235
1236 def winfo_fpixels(self, number):
1237 """Return the number of pixels for the given distance NUMBER
1238 (e.g. "3c") as float."""
1239 return self.tk.getdouble(self.tk.call(
1240 'winfo', 'fpixels', self._w, number))
1241
1242 def winfo_geometry(self):
1243 """Return geometry string for this widget in the form "widthxheight+X+Y"."""

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected