Example #1
0
 def on_pause(self):
     from utilities.notification import startNotificationService
     startNotificationService()
     FocusManager.defocus_all()
     # maybe store/sync a few things before...
     self.root.handle_app_pause()
     return True
Example #2
0
 def on_pause(self):
     from utilities.notification import startNotificationService
     startNotificationService()
     FocusManager.defocus_all()
     # maybe store/sync a few things before...
     self.root.handle_app_pause()
     return True
Example #3
0
 def on_stop(self):
     # signal all async worker to shutdown
     from utilities.notification import startNotificationService
     startNotificationService()
     from utilities.threads import async_gloabl_threads_destrcution
     async_gloabl_threads_destrcution()
     FocusManager.defocus_all()
     self.root.handle_app_stop()
     return True
Example #4
0
 def on_stop(self):
     # signal all async worker to shutdown
     from utilities.notification import startNotificationService
     startNotificationService()
     from utilities.threads import async_gloabl_threads_destrcution
     async_gloabl_threads_destrcution()
     FocusManager.defocus_all()
     self.root.handle_app_stop()
     return True