Tkinter Tuitorial
Tkinter Tuitorial
Controls
(Background Color, Size, etc.)
{
Layers
Everything you add on
Window will appear here.
1.
{
Naming Is Important ! Design Names Tkinter Elements
Select size
The code is converted on the basis of Button Or Button
Draw your own
name given to the elements in the
Design File. (Case Sensitive) Rectangle Rectangle
TextBox Entry
Names can be changed by double
clicking items in Layers Panel Background Canvas.Image()
1.
Create a Frame.
This will be Tkinter Window.
Select size
Or
Draw your own
{
Creating Background.
Background can be created by Using
Shapes and Images.
I am creating it using simple rectangle.
Note :
If you are using multiple shapes and
images. You need to group them
together by selecting all the elements
which are part of it and pressing Ctrl G
or CMD G.
Adding Text
Press ’T’ or Select text took from the
tools panel and add Text.
Adding a Button
Press ‘R’ for Rectangle tool.
Continued…
Adding a Button
Creating a button requires 1 Extra step.
Adding a Button
The group should look like this.
Final step.
Select Everything and set the
coordinates of X and Y to 0 on the from
the right side.
Paste it somewhere
Paste it somewhere
Generating Code.
Done !
Troubleshooting -
Elements not Visible Or Misplaced -
Select everything on the canvas on Figma and make sure if X & Y Coordinates are set to 0.
Anything Else -
Create an issue by going to this link.
Thank you !
Leave a ⭐ if you liked.