title: python tkinter checkboxes get ticked at once
body: <p>why do both checkboxes get checked when I only click one? The checkboxes on the right and in a different Frame, as well as the ones on the left. The variables are also different for each checkbox. Anyone has any idea what might cause this?
  <a href="https://imgur.com/a/bQkrMsk" rel="nofollow noreferrer">https://imgur.com/a/bQkrMsk</a></p>
  <pre><code># Child of [right_content] {FILTER}
  filter_by = Frame(right_content,
                    width=380,
                    height=50,
                    padx=5,
                    pady=5)
  filter_by.pack(fill='x')
  
  # Child of [filter_by] {RIGHT}
  filter_by_right = Frame(filter_by,
                          width=190)
  filter_by_right.pack(side='right')
  
  # Child of [filter_by] {LEFT}
  filter_by_left = Frame(filter_by,
                         width=190,
                         padx=10,
                         pady=5)
  filter_by_left.pack(side='left')
  
  firstname_chk = Checkbutton(filter_by_left, text='Search by Firstname')
  firstname_chk.pack()
  surname_chk = Checkbutton(filter_by_left, text='Search by Surname')
  surname_chk.pack()
  badgeid_chk = Checkbutton(filter_by_right, text='Search by BadgeID')
  badgeid_chk.pack()
  position_chk = Checkbutton(filter_by_right, text='Search by Position')
  position_chk.pack()
  </code></pre>