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

Method winfo_depth

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

Return the number of bits per pixel.

(self)

Source from the content-addressed store, hash-verified

1130 return self._nametowidget(name)
1131
1132 def winfo_depth(self):
1133 """Return the number of bits per pixel."""
1134 return self.tk.getint(self.tk.call('winfo', 'depth', self._w))
1135
1136 def winfo_exists(self):
1137 """Return true if this widget exists."""

Callers

nothing calls this directly

Calls 2

callMethod · 0.80
getintMethod · 0.45

Tested by

no test coverage detected