Beispiel #1
0
async def watch_ondrop_closely(app):
    async for args in Window.async_bind(
            'on_dropfile', thread_fn=trio.BlockingTrioPortal().run_sync):
        app.handledrops(*args)