May 2018
Beginner to intermediate
452 pages
11h 26m
English
The ttk.Checkbutton widget is a labeled checkbox for entering boolean data. Unlike Spinbox and Combobox, it is not derived from the Entry widget and its arguments are different as follows:
You can execute the following code to create a Checkbutton widget:
my_checkbutton = ttk.Checkbutton( parent, text="Check to make this option True",
variable=my_boolean_var)