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

Method transparency_get

Lib/tkinter/__init__.py:4657–4660  ·  view source on GitHub ↗

Return True if the pixel at x,y is transparent.

(self, x, y)

Source from the content-addressed store, hash-verified

4655 return data
4656
4657 def transparency_get(self, x, y):
4658 """Return True if the pixel at x,y is transparent."""
4659 return self.tk.getboolean(self.tk.call(
4660 self.name, 'transparency', 'get', x, y))
4661
4662 def transparency_set(self, x, y, boolean):
4663 """Set the transparency of the pixel at x,y."""

Callers 2

checkImgTransMethod · 0.80
test_transparencyMethod · 0.80

Calls 2

getbooleanMethod · 0.45
callMethod · 0.45

Tested by 2

checkImgTransMethod · 0.64
test_transparencyMethod · 0.64