'Change the text that is displayed by this text widget.
:type text: str
:param text: The string of text to display.
:rtype: None'

def set_text(self, text):

    self.canvas().itemconfig(self._tag, text=text)
    if (self.parent() is not None):
        self.parent().update(self)
