im running this small python script (using tkinter) and im encountering unexpected behaviour.
    import Tkinter as tk
    master = tk.Tk()
    def toggleComp():
        print "toggled."
    compVar = tk.IntVar()
    check_comp = tk.Checkbutton(master, text="Specify Compostition:",variable=compVar,command=toggleComp).grid(row=3,column=0,sticky=tk.W,padx=20)
    print isinstance(check_comp,tk.Checkbutton)
the last print line returns 'False'. I'd have expected 'True' as a result..
Can anyone clarify?
thanks!
