The Switch Widget! - Tkinter CustomTkinter 11

preview_player
Показать описание
In this video I'll show you how to use the Switch Widget with CustomTkinter and Python.

The switch is exactly what it sounds like...a switch that switches from on to off.

I'll show you how to code it, and also how to customize it in this video.

#tkinter #codemy #JohnElder

Timecodes

0:00​​ - Introduction
1:21 - Create StringVar
2:01 - Create A Switch
4:00 - Create Label
4:33 - Update Label In Switch Function
5:27 - Create Button
6:09 - Create Toggle Functions
6:26 - Switch DeSelect
6:55 - Switch Select
7:11 - Switch Toggle
8:00 - Switch Width And Height
8:32 - Switch_Width and Switch_Height
9:13 - Switch Corner_Radius
9:59 - Switch Border_Color
10:18 - Switch Border_Width
10:38 - Switch FG_Color
11:00 - Switch Progress_Color
11:14 - Switch Button_Color
11:41 - Switch Button_Hover_Color
12:11 - Switch Text Font
12:36 - Switch Text Color
12:48 - Switch State
13:44 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶ Watch CustomTkinter Playlist ✅ FREE Tkinter Widget Book
▶ See More At: ✅ Subscribe To My YouTube Channel:
▶ MASSIVE TKINTER.COM DISCOUNT ✅ Join My Facebook Group:
▶ Get The Code For This Video

TkinterPython
Автор

Is it possible to customize the distance between the switch button and the text itself ?

knbster
Автор

Can we add a webcam in customtk window

heetbhadani