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

Опубликовано: 25 Сентябрь 2020
на канале: 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()


На этой странице сайта вы можете посмотреть видео онлайн How To Center a Tkinter Window On The Screen - Python Tkinter GUI Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codemy.com 25 Сентябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 43,353 раз и оно понравилось 1 тысяч зрителям. Приятного просмотра!