Configure the image.
(self, **kw)
| 4376 | __iter__ = None # prevent using __getitem__ for iteration |
| 4377 | |
| 4378 | def configure(self, **kw): |
| 4379 | """Configure the image.""" |
| 4380 | res = () |
| 4381 | for k, v in _cnfmerge(kw).items(): |
| 4382 | if v is not None: |
| 4383 | if k[-1] == '_': k = k[:-1] |
| 4384 | res = res + ('-'+k, v) |
| 4385 | self.tk.call((self.name, 'config') + res) |
| 4386 | |
| 4387 | config = configure |
| 4388 |