In this video I’ll show you how to get the height, width, x, and y coordinates for your tkinter app programatically.
After your app runs, a user might resize it, or you might resize it as well based on user input or something else. There are times when you might need to know your apps current height and width.
In this video I’ll show you how to get that info using:
winfo_geometry()
winfo_height()
winfo_width()
winfo_x()
winfo_y()
It’s super easy!
Add comment