title: Python Tkinter or ttk, Send text to other toplevel window
body: <p>I am using a separate top level window during development of my Python ttk code, and would like to send messages from root to debug top level window.</p>
  
  <p>Here is some pseudo code</p>
  
  <pre><code>from Tkinter import *
  import ttk
  from MyFunctions import *    # some code I wrote (see below)
  root = Tk()
  SetupMyFunct(root)           # see below
  de_bug = Toplevel(root)
  dbug_frame = Frame(de_bug).grid()
  debug_string1 = StringVar()
  debug1_window = ttk.Label(dbug_frame, textvariable = debug_string1).grid()
  root.mainloop()
  </code></pre>
  
  <p>In my MyFunctions.py:</p>
  
  <pre><code>from Tkinter import *
  import ttk
  def SetupMyFunct(root):
      f = ttk.Frame(root).grid()
      w = Frame(f).grid()
  </code></pre>
  
  <p>At this point I would like to send some text to be automatically updated in the de_bug window, but I really have no idea where to go from here.</p>
  
  <p>Help Please?
  Mark.</p>