Ask a question. Shows buttons YES, NO and CANCEL. Return True if the answer is yes, None if cancelled, and False otherwise.
tkinter.messagebox/askyesnocancel
askyesnocancel