This recipe shows how to add dramatic color effects to our GUI by using the tkinter canvas widget.
How to use the canvas widget
Getting ready
We will improve our previous code from GUI_tooltip.py, and we'll improve the look of our GUI by adding some more colors to it.
How to do it...
First, we will create a third tab in our GUI in order to isolate our new code.
Here is the code to create the new third tab:
- Open GUI_tooltip.py and save the module as GUI_canvas.py.
- Create a third tab control:
tabControl = ttk.Notebook(win) # Create Tab Control
tab1 = ttk...