Issue 38898: Tkinter checkbutton switch on and off together
Hello,
I am running python 3.8.0 and found a problem where multiple checkbuttons get switched when I click one. From observing it looks like each first check button in a frame is linked. And each second, etc. I ran the some program in python 2.7.17 and it works as expected.
Basic program that show the problem:
import tkinter as tk
class Hello(tk.Frame):
def __init__(self, parent=None):
tk.Frame.__init__(self, parent)
check = tk.Checkbutton(self, text='Checkbutton')
check.pack()
root = tk.Tk()
Hello(root).pack()
Hello(root).pack()
root.mainloop()