Sep-25-2018, 03:32 PM
import tkinter as tk root = tk.Tk() Frame1 = tk.Frame(root) Frame2 = tk.Frame(root) Frame1.pack() Frame2.pack() tk.Checkbutton(Frame1, text="checkbutton #1").pack() tk.Checkbutton(Frame2, text="checkbutton #2").pack() root.mainloop()Why does it check both checkbuttons if I click only one and how can I make them independent without putting both in the same frame?