def set_edit_text(self, text):
        text = self._normalize_to_caption(text)
        self.highlight = None
        self._emit("change", text)
        self._edit_text = text
        if self.edit_pos > len(text):
            self.edit_pos = len(text)
        self._invalidate()
Set the edit text for this widget.
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/widget.py/Edit.set_edit_text