Skip to content

How do I build a new window inside run_forever or poll_events? #413

@wez

Description

@wez

I'd like to be able to spawn a new window in response to user input.

Since the event loop is borrowed mutably by run_forever and poll_events, there doesn't appear to be a way to spawn new windows in response to input events.

This may be another facet of #231

Metadata

Metadata

Assignees

No one assigned

    Labels

    C - waiting on authorWaiting for a response or another PRD - hardLikely harder than most tasks hereF - questionThere's no such thing as a stupid oneP - normalGreat to haveS - apiDesign and usability

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions