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