self.resbox = tk.Listbox(self.bg)
    self.resbox.config(width=50, height=20)
    self.resbox.pack(side=tk.TOP, pady=2, padx=4)