The mainloop call handles the event loop common in GUI programs. Some tkinter widgets look old ... uses fg and bg to set the foreground and background colors. A ttk button uses a style system ...