(title=None, message=None, **options)
return s == YES
Ask a question; return true if the answer is yes, None if cancelled.
Ask a question; return true if the answer is yes, None if cancelled.
Ask a question ; return true if the answer is yes None if cancelled .
def askyesnocancel(title=None, message=None, **options):
    "Ask a question; return true if the answer is yes, None if cancelled."
    s = _show(title, message, QUESTION, YESNOCANCEL, **options)
    # s might be a Tcl index object, so convert it to a string
    s = str(s)
    if s == CANCEL:
        return None
    return s == YES
def askyesnocancel ( title = None , message = None , * * options ) : s = _show ( title , message , QUESTION , YESNOCANCEL , * * options ) # s might be a Tcl index object, so convert it to a string s = str ( s ) if s == CANCEL : return None return s == YES