title: To Detect Button Press In Python Tkinter Module
body: <p>I have a problem to detect/check button press in python tkinter !
  I have a variable <strong>click</strong> i want that if my button is clicked then it becomes True 
  for ex:
  this is my code:</p>
  
  <pre><code>buttonClicked=False
  myButton=Button()
  </code></pre>
  
  <p>I want something like this:</p>
  
  <pre><code>if myButton is pressed:
   buttonClicked=True
  </code></pre>
  
  <p>Thanks for your help!</p>