title: How to add an extra checkbox to a messagebox in tkinter?
body: <p>I cannot resolve the following problem for ages. How to add an extra checkbox to a standard message box in Tkinter?</p>
  <p>I watched many different videos on youtube on how to create a custom message box with tk.Toplevel, however, it works differently than a classic message box.</p>
  <p>Basically, what I need to get is to add a checkbox like &quot;don't ask me again&quot; for a specific warning message. I don't believe that I need to go with the whole new message box just because of a little checkbox.</p>
  <p><a href="https://i.stack.imgur.com/5WJht.png" rel="nofollow noreferrer">Checkbox that I want to have</a></p>
  <p>Custom checkbox with TopLevel does not work properly for me. It does not pause the program (in my case, the message box pops up inside of the while loop and, depending on the response, should either break the loop or continue the execution). With the toplevel widget it just throws numerous message boxes without pausing.</p>
  <p>I hope someone will be able to help me.</p>