Although we can easily set geometry parameters in Tkinter to define the size of our windows in a Python desktop app, we can also add additional functionality that will allow us to resize the window dynamically. Is it possible for the users to update the size of the window when the program is already running? In this video, John Elder of Codemy will teach us various ways to do it.
Since the dimensions are passed into the function surrounded by quotation marks, we have to actually substitute in variables. Here, we will learn how to resize the windows by simply tapping a resize button. It is simple and surprisingly fun to work with. If you want to know how exactly this function works in Python using the Tkinter GUI toolkit, feel free to watch the video below.