old_contents: from tkinter import Label, StringVar
  
  from . import utilities as utils
      
  class Text(Label):
  
      def __init__(self, master, text="", size=12, color="black", font="Helvetica", grid=None, align=None):
  
          # Description of this object (for friendly error messages)
          self.description = "[Text] object with text \"" + str(text) + "\""
  
          # Save some of the config
          self.current_size = size
          self.current_color = color
          self.current_font = font
  
          self.text = str(text)
  
          # Attempt to instantiate the object and raise an error if failed
          try:
              super().__init__(master, text=self.text)
          except AttributeError:
              utils.error_format( self.description + "\n" +
              "The first argument was a " + str(type(master)) +". First argument must be [App] or [Box]")
  
          # Initial config on setup       
          self.config(fg=color, font=(font, size))
  
          # Pack or grid depending on parent
          utils.auto_pack(self, master, grid, align)
  
  
      # Clear text (set to empty string)
      def clear(self):
          self.string_var.set("")
          
      # Returns the text
      def get(self):
          return self.string_var.get()
  
      # Sets the text
      def set(self, text):
          self.text = str(text)
          self.config(text=self.text)
          self.description = "[Text] object with text \"" + str(text) + "\""
  
      # Sets the text colour
      def color(self, color):
          self.config(fg=color)
  
      # Set the font 
      def font_face(self, font):
          self.current_font = font
          self.config(font=(self.current_font, self.current_size))
  
      # Set the font size
      def font_size(self, size):
          self.current_size = size
          self.config(font=(self.current_font, self.current_size))
  
      # Append to the StringVar controlling this text
      def append(self, text):
          new_text = self.text + str(text)
          self.text = new_text
          self.config(text=new_text)
          self.description = "[Text] object with text \"" + new_text + "\""
  
  
new_contents: from tkinter import Label, StringVar
  
  from . import utilities as utils
      
  class Text(Label):
  
      def __init__(self, master, text="", size=12, color="black", font="Helvetica", grid=None, align=None):
  
          # Description of this object (for friendly error messages)
          self.description = "[Text] object with text \"" + str(text) + "\""
  
          # Save some of the config
          self.current_size = size
          self.current_color = color
          self.current_font = font
  
          self.text = str(text)
  
          # Attempt to instantiate the object and raise an error if failed
          try:
              super().__init__(master, text=self.text)
          except AttributeError:
              utils.error_format( self.description + "\n" +
              "The first argument was a " + str(type(master)) +". First argument must be [App] or [Box]")
  
          # Initial config on setup       
          self.config(fg=color, font=(font, size))
  
          # Pack or grid depending on parent
          utils.auto_pack(self, master, grid, align)
  
  
      # Clear text (set to empty string)
      def clear(self):
          self.text = ""
          self.config(text="")
          
      # Returns the text
      def get(self):
          return self.text
  
      # Sets the text
      def set(self, text):
          self.text = str(text)
          self.config(text=self.text)
          self.description = "[Text] object with text \"" + str(text) + "\""
  
      # Sets the text colour
      def color(self, color):
          self.config(fg=color)
  
      # Set the font 
      def font_face(self, font):
          self.current_font = font
          self.config(font=(self.current_font, self.current_size))
  
      # Set the font size
      def font_size(self, size):
          self.current_size = size
          self.config(font=(self.current_font, self.current_size))
  
      # Append to the StringVar controlling this text
      def append(self, text):
          new_text = self.text + str(text)
          self.text = new_text
          self.config(text=new_text)
          self.description = "[Text] object with text \"" + new_text + "\""
  
  
subject: Fix bug where text box get and clear don't work