title: How to checkbox to enable a button in Tkinter
body: <pre><code>self.label_5 = tk.Checkbutton(self.master, text="I agree to the", bg='white', width=14,font=("Arial", 8), command= activator)
  self.label_5.place(x=112, y=410)
  self.button_2 = tk.Button(text='Proceed', width=20, bg='white', state = tk.DISABLED, bd=1, 
  highlightbackground='black', font=("Arial", 10)).place(x=208, y = 512)
  
  def activator(button):
      if (self.button_2 ['state'] == tk.DISABLED):
          self.button_2 ['state'] = tk.NORMAL
      else:
          self.button_2['state'] = tk.DISABLED
  </code></pre>
  
  <p>I want to enable the proceed button after I checked the checkbutton but I can't seem to figure it out.</p>