Pack Vs Grid For Placement - Intro To Tkinter 3

Опубликовано: 12 Март 2024
на канале: Tkinter․com
3,034
110

In this video we'll learn about Pack and Grid for placement with Tkinter and Python.

Pack and Grid are two very different ways to place widgets in Tkinter..

In this video we'll learn how to use each, and also when to use each!

We'll also look at a hack that allows you to use both pack and grid at the same time!

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:10 - Pack Some Buttons
2:12 - Pady Tuple Trick
2:55 - Expand with Fill
4:20 - Grid Rules
5:45 - Use Frame to Pack and Grid
6:52 - Create More Buttons to Grid
7:57 - Grid Padx
8:25 - Second Row Button
9:45 - ColumnSpan Stretch Button
10:35 - Sticky Expand Button
11:40 - Conclusion


Смотрите видео Pack Vs Grid For Placement - Intro To Tkinter 3 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tkinter․com 12 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,034 раз и оно понравилось 110 людям.