I have this piece of code that will create a simple checkbox :
from Tkinter import * CheckVar = IntVar() self.checkbutton = Checkbutton(self.root, text = \"
Your CheckVar is a local variable. It's getting garbage collected. Save it as an object attribute. Also, you can create the variable and initialize it all in one step:
CheckVar
self.CheckVar = IntVar(value=1) self.checkbutton = Checkbutton(..., variable = self.CheckVar)