code: def set_value(self, text):
          
          if self.single_line:
              text = text.replace('\n', '')
          self.set_text(text)
docs: Sets the text content.
  
          Args:
              text (str): The string content that have to be appended as standard child identified by the key 'text'