def askyesnocancel(title=None, message=None, **options):
 s = _show(title, message, QUESTION, YESNOCANCEL, **options)
 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 = str ( s ) if ( s == CANCEL ) : return None return ( s == YES )
ask a question; return true if the answer is yes .