| 503 | _tkCall(_root.update) |
| 504 | |
| 505 | def _reconfig(self, option, setting): |
| 506 | # Internal method for changing configuration of the object |
| 507 | # Raises an error if the option does not exist in the config |
| 508 | # dictionary for this object |
| 509 | if not self.config.has_key(option): |
| 510 | raise GraphicsError, UNSUPPORTED_METHOD |
| 511 | options = self.config |
| 512 | options[option] = setting |
| 513 | if self.canvas and not self.canvas.isClosed(): |
| 514 | #self.canvas.itemconfig(self.id, options) |
| 515 | _tkExec(self.canvas.itemconfig, self.id, options) |
| 516 | if self.canvas.autoflush: |
| 517 | #_root.update() |
| 518 | _tkCall(_root.update) |
| 519 | |
| 520 | def _draw(self, canvas, options): |
| 521 | """draws appropriate figure on canvas with options provided |