Center Widgets With Place() - Python Tkinter GUI Tutorial 191

preview_player
Показать описание
In this video I'll show you how to center a widget using the place method with Tkinter and Python.

Place() is similar to pack() and grid() but allows you to place a widget in a specific absolute or relative position on your app using x and y coordinates.

In this video we'll center a button using relx and rely, which are relative positions that will move and resize as the app moves and resizes.
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:
▶️ Get The Code

Codemycom
Автор

I don't know what i will do without your videos.Thank you!

aleksadjurdjic
Автор

it's exactly what i was looking for ! thanks u maybe can't know how much your courses helped me ! thanks a lot !

Insolits_World
Автор

This is really useful. Thank you John.

sithuhtun
Автор

Thank you Jon for making this. I had waited for this for a long time. I personally find pack() and grid() useful only for quickly testing the behavior of a widget. In a real project, they are very unpredictable. I use pack() only once for the root or parent widget, everything else is put inside frames, then positioned precisely using place() and relatively arguements. I read the comments and saw people asking questions about styling. Do you now if streamlit is a good substitute for tkinter in view of its advanced and modern styling, or there are significant tradeoff to be encountered.

alphainfinitum
Автор

Hi! Thanks again for your tutorials.
I would like to make a point and click game with tkinter. I was wondering if you could make a tutorial about faking typewriting because lot of old games used this kind of effect. Best.

dcdondon
Автор

please make a toturial about style and theme in ttk tkinter .. it is not easy to style button, radio and check box

mohamedmohsen
Автор

Hi John, please add video for validate command used for entry widget to restrict the entry to float numbers, thanks in advance

karthikrajamony
Автор

Sir, I need it very urgently please make videos on how to use ttk and ttk style and bootstrap all those stuff. I need to make a project and submit before November.
With regards
Thank you

debakamalhazarika