Tkinter - Pygubu Designer - Checkbutton

Опубликовано: 18 Апрель 2026
на канале: JobinPy
2,243
61

In this video, I'll show you how to use the Ttk Checkbutton widget in Tkinter via Pygubu Designer. We will cover how to get the on and off value of a Checkbutton with a Tk variable and also without a variable.

0:00 Intro
0:56 Example project
1:48 Variable property
4:16 Get value of variable
6:16 Blank string value
7:05 Boolean variable
8:32 Custom on and off values
9:44 Purpose of empty string value
11:03 Integer variable
12:26 Simple way of getting value
13:19 Get state without a variable
16:12 Alternate state
16:40 Verify checkbutton state without a variable
17:33 Verify whether the user has set a value
18:21 Change checkbutton state using code
19:44 Closure

#tkinter #pygubu #pygubudesigner #pythongui #pythonguitutorial