How To Center a Tkinter Window On The Screen - Python Tkinter GUI Tutorial

Publié le: 25 septembre 2020
sur la chaîne: Codemy.com
43,353
1k

In this video I'll show you how to place your Tkinter window in the center of the screen, no matter what size monitor or screen resolution you're using.


We'll use the app's width and height, as well as the screen's width and height to do a little simple math to center our app on the middle of the screen.


To find the screen width and height, we'll use winfo_screewidth() and winfo_screenheight()


Sur cette page du site, vous pouvez voir la vidéo en ligne How To Center a Tkinter Window On The Screen - Python Tkinter GUI Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Codemy.com 25 septembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 43,353 fois et il a aimé 1 mille téléspectateurs. Bon visionnage!