class_docstr: An implementation of BaseGUITestRunner using Tkinter.
      
class_docstr_tok: ["An","implementation","of","BaseGUITestRunner","using","Tkinter","."]
docstr: Set up the GUI inside the given root window. The test name entry
  field will be pre-filled with the given initialTestName.
docstr_tok: ["Set","up","the","GUI","inside","the","given","root","window",".","The","test","name","entry","field","will","be","pre-filled","with","the","given","initialTestName","."]
code: def initGUI(self, root, initialTestName):
      """Set up the GUI inside the given root window. The test name entry
      field will be pre-filled with the given initialTestName.
      """
      self.root = root
  
      self.statusVar = tk.StringVar()
      self.statusVar.set("Idle")
  
      # tk vars for tracking counts of test result types
      self.runCountVar = tk.IntVar()
      self.failCountVar = tk.IntVar()
      self.errorCountVar = tk.IntVar()
      self.skipCountVar = tk.IntVar()
      self.expectFailCountVar = tk.IntVar()
      self.remainingCountVar = tk.IntVar()
  
      self.top = tk.Frame()
      self.top.pack(fill=tk.BOTH, expand=1)
      self.createWidgets()
  
imports: import sys
  import traceback
  import unittest
  import tkinter
  from tkinter import messagebox
  from tkinter import filedialog
  from tkinter import simpledialog
label_desc: Use image node_id 1 for calling the TkTestRunner obj's underlying member method code with example usage: obj.initGUI(root, initialTestName) without return types