Canvas Widget
In this lesson, we will create the Canvas widget and draw different shapes in it.
We'll cover the following...
The Canvas widget provides a rectangular area for drawing pictures, graphs, shapes, or placing other widgets.
Now, let’s see how to create the Canvas widget in Tkinter.
Creating a Canvas widget
The following is the syntax of creating a Canvas widget:
Press + to interact
myCanvas = tk.Canvas( parent , options )
Here, parent
stands for the parent window or frame where we will place the canvas. We can also use several options like ...