[issue38898] Tkinter checkbutton switch on and off together
zaza hohonini
report at bugs.python.org
Fri Nov 22 16:16:20 EST 2019
New submission from zaza hohonini <zazahohonini at gmail.com>:
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()
----------
components: Tkinter
files: tkinter-checkbutton-bug.ogv
messages: 357323
nosy: zaza hohonini
priority: normal
severity: normal
status: open
title: Tkinter checkbutton switch on and off together
versions: Python 3.8
Added file: https://bugs.python.org/file48741/tkinter-checkbutton-bug.ogv
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38898>
_______________________________________
More information about the Python-bugs-list
mailing list