I am having problem using the exit handler and implementing it as a function.Can any one please provide me a code for the same..
I am having problem using the exit handler and implementing it as a function.Can any one please provide me a code for the same..
Hello Rabaf
Hopefully you were looking for the following code
Hope that helpsCode:def exit_key_handler(): app_lock.signal() #The exit_key_handler function can be called here to exit. app_lock = e32.Ao_lock() appuifw.app.exit_key_handler = exit_key_handler app_lock.wait()
Pankaj Nathani
www.croozeus.com