Description
GUI libraries such as napari rely on IPython's opt-in integration with GUI event loops to render and respond to user interactions.
We currently have no support for integrating with GUI event loops.
Suggested solution
Provide integrations with GUI event loops, and let third-party libraries start these event loops.
Alternative
No response
Additional context
Documentation on IPython's GUI event loop: https://ipython.readthedocs.io/en/stable/config/eventloops.html#integrating-with-gui-event-loops
Napari's documention on the GUI event loop: https://napari.org/stable/guides/event_loop.html#in-ipython-or-jupyter-notebook
IPython kernel's event loop integration: https://github.com/ipython/ipykernel/blob/main/ipykernel/eventloops.py
Description
GUI libraries such as napari rely on IPython's opt-in integration with GUI event loops to render and respond to user interactions.
We currently have no support for integrating with GUI event loops.
Suggested solution
Provide integrations with GUI event loops, and let third-party libraries start these event loops.
Alternative
No response
Additional context
Documentation on IPython's GUI event loop: https://ipython.readthedocs.io/en/stable/config/eventloops.html#integrating-with-gui-event-loops
Napari's documention on the GUI event loop: https://napari.org/stable/guides/event_loop.html#in-ipython-or-jupyter-notebook
IPython kernel's event loop integration: https://github.com/ipython/ipykernel/blob/main/ipykernel/eventloops.py