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

Method winfo_rgb

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

Return a tuple of integer RGB values in range(65536) for color in this widget.

(self, color)

Source from the content-addressed store, hash-verified

1218 self.tk.call('winfo', 'reqwidth', self._w))
1219
1220 def winfo_rgb(self, color):
1221 """Return a tuple of integer RGB values in range(65536) for color in this widget."""
1222 return self._getints(
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

Callers 2

_iscolorstringMethod · 0.80
_fixresultMethod · 0.80

Calls 2

_getintsMethod · 0.95
callMethod · 0.80

Tested by

no test coverage detected