Tkinter Tutorial - Checkbutton
The Checkbutton widget is a widget holding a value. Checkbuttons could contain either text or images. It could also link the callback function to be called when the checkbutton is clicked. To create a checkbutton widget in an existing parent window parent, we can use, tk.Checkbutton(parent, option, ...) Tkinter Checkbutton Basic Example import tkinter as tk app = tk.Tk() app.geometry("150x100") chkValue = tk.BooleanVar() chkValue.set(True) chkExample = tk.Checkbutton(app, text="Check Box", var=chkValue) chkExample.