Widget Animation - Tkinter CustomTkinter 23

Опубликовано: 16 Январь 2024
на канале: Tkinter․com
14,384
288

In this video we'll learn how to do Animation for Widgets with CustomTkinter and Python.

How do we move widgets? Maybe you want a menu to slide out when a button is clicked.

Or maybe you want to hide a widget based on a certain user action and want a stylish way to do that.

Animations are the way to do it and I'll show you how to use them in this video.

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:15 - Create Frame with Buttons
2:40 - Create Up and Down Functions
2:55 - Create Text Box
3:44 - Using Place for Animations
5:21 - Move Textbox Off Screen
6:30 - Move Textbox Up
7:28 - Check Position
7:54 - Limit Up Movement
8:51 - Move Textbox Down
9:58 - Animation with After()
11:40 - How Fast?
12:12 - Left to Right?
13:06 - Using Frames
14:59 - Conclusion


Смотрите видео Widget Animation - Tkinter CustomTkinter 23 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tkinter․com 16 Январь 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,384 раз и оно понравилось 288 людям.