Learn PythonPythonPython GUIVideos

How To Make A Python Desktop App Dynamically Resize Windows

learn python with how to resize a window dynamically video

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.

close
Related posts
Python

Embrace The Power Of Brand New Python 3.11 Features

Python

How To Exit A Python Script

CodeLearn PythonPythonWindows

How To Add Python Testing Tools Into Pandas Machine Learning Code

Python

Python Profilers: Learn The Basics Of A Profiler For Python

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée.

fr_FRFrench