title: How to access widgets defined in one class in other classes without seeing the graphical interface being redefined
body: <p>I have a graphical interface with several frames, in the third I have a TKINTER TEXT widget allowing me to display text files after processing, when I  update this field from another class, it works but each time I lose the display of the 2 other frames (where te widget text is not present), what can I do to prevent this from happening?</p>
  <p>the code for change the text :</p>
  <pre><code>data ='test of writing'
  instance = TroisiemeUI(self)
  instance.changeText(data)
  </code></pre>
  <p>the  definition of the principal GUI :</p>
  <pre><code>class MyWindow(Tk):
  @catch_all_and_log
      def __init__(self):
          Tk.__init__(self)
          self.create_menu_bar()
          self.columnconfigure(0, weight=1)
          self.rowconfigure(0, weight=1)
          # Créer les volets et les cadres
          self.vertical_pane = ttk.PanedWindow(self, orient=VERTICAL)
          self.vertical_pane.grid(row=0, column=0, sticky=&quot;nEsW&quot;)
          self.horizontal_pane = ttk.PanedWindow(self.vertical_pane, orient=HORIZONTAL)
          self.vertical_pane.add(self.horizontal_pane)
          self.form_frame = ttk.Labelframe(self.horizontal_pane, text=&quot;Supervision&quot;)
          self.form_frame.columnconfigure(1, weight=1)
          self.horizontal_pane.add(self.form_frame, weight=1)
          self.console_frame = ttk.Labelframe(self.horizontal_pane, text=&quot;Console&quot;)
          self.console_frame.columnconfigure(0, weight=50)
          self.console_frame.rowconfigure(0, weight=50)
          self.horizontal_pane.add(self.console_frame, weight=50)
          self.troisieme_frame = ttk.Labelframe(self.vertical_pane, text=&quot;Navigation&quot;)
          # visu_frame=ttk.Labelframe(vertical_pane, text=&quot;Visualisation&quot;)
          self.vertical_pane.add(self.troisieme_frame, weight=1)
          # Initialize all frames
          self.form = FormUi(self.form_frame)
          self.console = ConsoleUi(self.console_frame)
          self.third = TroisiemeUI(self.troisieme_frame)
  ...
          self.protocol('WM_DELETE_WINDOW', self.quit)
          self.bind('&lt;Control-q&gt;', self.quit)
          signal.signal(signal.SIGINT, self.quit)
          #fin
          self.geometry(&quot;1200x400&quot;)
  ...
  def default_operation_EM(self):
         ...
              # read the text file and show its content on the Text
              data ='test of writing'
              instance = TroisiemeUI(self)
              instance.changeText(data)
  </code></pre>
  <p>the class where the method changeText is define  :</p>
  <pre><code>class TroisiemeUI:
                
      def __init__(self, parent):
          '''
          Constructeur
          '''
          self.parent = parent 
          self.creat_zone_info()
          self.creat_arborescence()
          self.creat_titre()
                                   
      def creat_zone_info(self):    
          # Texte edition
          self.texto = tk.Text(self.parent, height=14)
          self.texto.grid(column=2, row=0,padx=3, sticky='e')
          
      def changeText(self,nvtexte):
          # test = getattr(self.parent,'texto')
           self.texto.insert('1.0',nvtexte)
  </code></pre>