MCPcopy Index your code
hub / github.com/python/cpython / winfo_rgb

Method winfo_rgb

Lib/tkinter/__init__.py:1333–1336  ·  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

1331 self.tk.call('winfo', 'reqwidth', self._w))
1332
1333 def winfo_rgb(self, color):
1334 """Return a tuple of integer RGB values in range(65536) for color in this widget."""
1335 return self._getints(
1336 self.tk.call('winfo', 'rgb', self._w, color))
1337
1338 def winfo_rootx(self):
1339 """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.45

Tested by

no test coverage detected