Message253281
The transparency methods of tkinter.PhotoImage seem to be missing.
Presumably, they would go something like:
def transparency_get(self, x, y):
"""Returns a boolean indicating if the pixel at (x,y) is transparent. """
return self.tk.call(self.name, 'transparency', 'get', x, y)
def transparency_set(self, x, y, boolean=True):
"""Make pixel at (x,y) transparent if boolean is true, opaque otherwise. """
self.tk.call(self.name, 'transparency', 'set', x, y, boolean) |
|
Date |
User |
Action |
Args |
2015-10-21 08:56:35 | None Becoming | set | recipients:
+ None Becoming |
2015-10-21 08:56:35 | None Becoming | set | messageid: <1445417795.5.0.279905447074.issue25451@psf.upfronthosting.co.za> |
2015-10-21 08:56:35 | None Becoming | link | issue25451 messages |
2015-10-21 08:56:35 | None Becoming | create | |
|