Example #1
0
 def inputhook(context):
     while not context.input_is_ready():
         gSystem.ProcessEvents()
         time.sleep(0.01)
Example #2
0
 def _process_root_events(self):
     while self.keep_polling:
         gSystem.ProcessEvents()
         time.sleep(0.01)