Message253281
| Author | None Becoming |
|---|---|
| Recipients | None Becoming |
| Date | 2015-10-21.08:56:35 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1445417795.5.0.279905447074.issue25451@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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) |
|
| History | |||
|---|---|---|---|
| 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 | |