Creating a graphical application – Start menu

The example in this recipe shows how we can define our own variations of Tkinter objects to generate custom controls and dynamically construct a menu with them. We will also take a quick look at using threads to allow other tasks to continue to function while a particular task is being executed.