Skip to content

GUI Event Loop integration #1986

Description

@akshayka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions