Sets pixel (x,y) to the color given by RGB values r, g, and b. r,g,b should be in range(256)
(self, x, y, (r,g,b))
| 942 | return map(int, value.split()) |
| 943 | |
| 944 | def setPixel(self, x, y, (r,g,b)): |
| 945 | """Sets pixel (x,y) to the color given by RGB values r, g, and b. |
| 946 | r,g,b should be in range(256) |
| 947 | |
| 948 | """ |
| 949 | |
| 950 | _tkExec(self.image.put, "{%s}"%color_rgb(r,g,b), (x, y)) |
| 951 | |
| 952 | def clone(self): |
| 953 | """Returns a copy of this Pixmap""" |