I have two checkbox Pass and FAIL I am parsing the csv for column1 and adding the two checkbox .
X = 100
Y = 71
for item in column1[key]:
if item != '':
listbox.insert('end', item)
chk_state1 = tk.IntVar()
tk.Checkbutton(self.root, text="PASS",variable=chk_state1,font=("Arial Bold", 8),).place(x=X,y=Y)
chk_state2 = tk.IntVar()
tk.Checkbutton(self.root, text="FAIL",variable=chk_state2,font=("Arial Bold", 8),).place(x=X+80,y=Y)
Y = Y +20
- How to know which row of column1 Checkbox is selected
- At a time only one checkbox should be selected
Any inputs will be helpful thanks in advance