Skip to content

[docs] capy in a GUI application #159

@LegalizeAdulthood

Description

@LegalizeAdulthood

(Moved from corosio)

Capturing this from a discussion with @vinniefalco on slack.

Can we treat a GUI application's event loop as just another source of events in a coroutine based application?

How does capy integrate with the event loop in a GUI application?

Obviously you can just run all capy stuff on a separate thread and use traditional event posting mechanisms to communicate between a worker thread and the GUI thread, but what if you just want to do everything event-driven on a single thread?

Some sort of example would help here.

It may be an example in a distinct repository to decouple capy's repository from any GUI library, e.g. an example using wxWidgets and vcpkg.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions