New submission from zaza hohonini <zazahohon...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue38898>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to