def process_events():
 use_app(call_reuse=False)
 return default_app.process_events()

def process_events ( ) : use_app ( call_reuse = False ) return default_app . process_events ( )
process all pending gui events if the mainloop is not running .