Performs the writing for write()
(self, txt, align, font)
| 3527 | self.undobuffer.cumulate = False |
| 3528 | |
| 3529 | def _write(self, txt, align, font): |
| 3530 | """Performs the writing for write() |
| 3531 | """ |
| 3532 | item, end = self.screen._write(self._position, txt, align, font, |
| 3533 | self._pencolor) |
| 3534 | self._update() |
| 3535 | self.items.append(item) |
| 3536 | if self.undobuffer: |
| 3537 | self.undobuffer.push(("wri", item)) |
| 3538 | return end |
| 3539 | |
| 3540 | def write(self, arg, move=False, align="left", font=("Arial", 8, "normal")): |
| 3541 | """Write text at the current turtle position. |