title: How do I use a Tkinter Button for two states?
body: <p>I have the following code, which causes a color/text change when a Tkinter button is clicked. I would like to revert to the original color/text when the button is clicked a second time.</p>
  
  <pre><code>from Tkinter import *
  
  window = Tk()
  window.title("Start/Stop Button")
  window.geometry('200x100')
  
  def clicked_rf1():
      btn_rf1.configure(text="Stop")
      lbl_rf1.configure(text="  ON  ", bg="green")
  
  btn_rf1 = Button(window, text="Start", command=clicked_rf1)
  btn_rf1.grid(column=1, row=1)
  lbl_rf1 = Label(window, text="  OFF ", bg="red")
  lbl_rf1.grid(column=2, row=1)
  
  window.mainloop()
  </code></pre>
  
  <p>I want something that behaves a little more like a toggle, but I would like the look of a button.</p>
  
  <p>Help gratefully received.</p>