def onClose(event): rv = ew.MessageYesNo("Alert", "Do you want to quit ?") if rv == True: window.timerStop('timer') return rv
def onClose(event): #return True if want to exit rv = ezwx.MessageYesNo("Alert", "Do you want to quit ?") return rv
def onClose(event): return ew.MessageYesNo("Alert", "Do you want to quit ?")