Performs the writing for write()
(self, txt, align, font)
| 3414 | self.undobuffer.cumulate = False |
| 3415 | |
| 3416 | def _write(self, txt, align, font): |
| 3417 | """Performs the writing for write() |
| 3418 | """ |
| 3419 | item, end = self.screen._write(self._position, txt, align, font, |
| 3420 | self._pencolor) |
| 3421 | self._update() |
| 3422 | self.items.append(item) |
| 3423 | if self.undobuffer: |
| 3424 | self.undobuffer.push(("wri", item)) |
| 3425 | return end |
| 3426 | |
| 3427 | def write(self, arg, move=False, align="left", font=("Arial", 8, "normal")): |
| 3428 | """Write text at the current turtle position. |